]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: add helper nvme_cleanup_cmd()
authorMing Lin <ming.l@ssi.samsung.com>
Mon, 25 Apr 2016 21:33:20 +0000 (14:33 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:21 +0000 (13:41 -0700)
commitdbb12143a2ef2d3b07e5f76a8ee323ab295f0437
tree2b2633d48dde4bbc1db515a948853ef51840cbb2
parent2494039e71082c2b00d58776b63bbcbf19ac169b
nvme: add helper nvme_cleanup_cmd()

This hides command cleanup into nvme.h and fabrics drivers will
also use it.

Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 6904242db1ac07403c331b18796f6c2bf5382aec)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c