diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-05 08:26:48 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 09:18:00 -0700 |
commit | 4442b56fb5151e9a7e21c0f73aba5a071f559dce (patch) | |
tree | 89aa8a62e66637870fc0f6c020c74ce389394278 /drivers/nvme/target/Kconfig | |
parent | 8cd579d2794b90f810e534e75783ba78cdc91a07 (diff) | |
download | linux-4442b56fb5151e9a7e21c0f73aba5a071f559dce.tar.bz2 |
nvmet/fc: Use sgl_alloc() and sgl_free()
Use the sgl_alloc() and sgl_free() functions instead of open coding
these functions.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/Kconfig')
-rw-r--r-- | drivers/nvme/target/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index 03e4ab65fe77..4d9715630e21 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -39,6 +39,7 @@ config NVME_TARGET_FC tristate "NVMe over Fabrics FC target driver" depends on NVME_TARGET depends on HAS_DMA + select SGL_ALLOC help This enables the NVMe FC target support, which allows exporting NVMe devices over FC. |