]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b1ee68df5c6dd6bc677c44e9323382092a0ab87
tree7b1c0135a8b5aa4fe1837a20bef91a7b95925f33
parent8c01cca28c438596465ecf11b8c6e56bda0ab299
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