nvme: add helper nvme_cleanup_cmd()
authorMing Lin <ming.l@ssi.samsung.com>
Mon, 25 Apr 2016 21:33:20 +0000 (14:33 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 2 May 2016 15:11:58 +0000 (09:11 -0600)
commit6904242db1ac07403c331b18796f6c2bf5382aec
treef185d0bf1e52827df0e6c5f23eea595e91f6dc25
parentf866fc4282a81673ef973ad54c68235a3263b42e
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>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c