nvme: move nvme_cancel_request() to common code
authorMing Lin <ming.l@samsung.com>
Wed, 18 May 2016 21:05:02 +0000 (14:05 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:43:02 +0000 (13:43 -0600)
commitc55a2fd4bb16bcdd8c42e3d64fccd326416b7492
treee44e6da1c8bc384fa0bde85e078fd481073487be
parente1958e6534a2d4ebb2dfcd0b3f16ff8e277a5b0c
nvme: move nvme_cancel_request() to common code

So it can be used by fabrics driver also.

Signed-off-by: Ming Lin <ming.l@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Keith Busch <keith.bsuch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c