nvmet: add a new nvmet_zero_sgl helper
authorChristoph Hellwig <hch@lst.de>
Tue, 22 May 2018 09:10:02 +0000 (11:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
commitc7759fff22657d0e03b508f8f3ef97efbb10bc13
tree7b1c0135a8b5aa4fe1837a20bef91a7b95925f33
parentaafd3afe9d2e731f50477cd1b4db7efa86d2637a
nvmet: add a new nvmet_zero_sgl helper

Zeroes the SGL in the payload.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/nvme/target/core.c
drivers/nvme/target/nvmet.h