target: Use sgl_alloc_order() and sgl_free()
authorBart Van Assche <[email protected]>
Fri, 5 Jan 2018 16:26:50 +0000 (08:26 -0800)
committerJens Axboe <[email protected]>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
commit14db49172649aac001fd77a3fd53d12c6df22daf
treefdfd9c997ad5e268073438a55a95269d29654fe9
parent68c6e9cd2fa4f0109364834475628b4b1dd12257
target: Use sgl_alloc_order() and sgl_free()

Use the sgl_alloc_order() and sgl_free() functions instead of open
coding these functions.

Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Nicholas A. Bellinger <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/target/Kconfig
drivers/target/target_core_transport.c