On Mon, 2017-11-06 at 08:10 +0100, Hannes Reinecke wrote:
On 11/03/2017 11:23 PM, Bart Van Assche wrote:
quoted
Use the sgl_alloc_order() and sgl_free() functions instead of open
coding these functions.
Signed-off-by: Bart Van Assche <redacted>
Cc: Nicholas A. Bellinger <redacted>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
---
drivers/target/Kconfig | 1 +
drivers/target/target_core_transport.c | 46 +++-------------------------------
2 files changed, 5 insertions(+), 42 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com>
Nice improvement to turn this into common code.
Acked-by: Nicholas Bellinger <redacted>