]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme: update and rename nvme_cancel_io to nvme_cancel_request
authorMing Lin <ming.l@samsung.com>
Wed, 18 May 2016 21:05:01 +0000 (14:05 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:43:02 +0000 (13:43 -0600)
commite1958e6534a2d4ebb2dfcd0b3f16ff8e277a5b0c
treeac0ff05a0772ac072cca58a4b32fa044d60ada35
parent28a8f0d317bf225ff15008f5dd66ae16242dd843
nvme: update and rename nvme_cancel_io to nvme_cancel_request

nvme_cancel_io is a bit confusing (given the distinction of io/admin),
so rename it to nvme_cancel_request.

And update it a bit to pass in struct nvme_ctrl, 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>
Suggested-by: Sagi Grimberg <sagi@grimberg.me>
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/pci.c