]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:27 +0000 (13:41 -0700)
commit6175f8e4cf255b00125a6d5c10a1076883225d2d
tree763f5baafb9a4c2f1a3983e85fbae37df205fc98
parentd51cf486921485b49e84bd16b384f4fc57fc2f33
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>
(cherry picked from commit e1958e6534a2d4ebb2dfcd0b3f16ff8e277a5b0c)

Orabug: 25130845

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