nvme-apple: use nvme core helper to cancel requests in tagset
authorGuixin Liu <kanie@linux.alibaba.com>
Fri, 8 Jul 2022 03:06:05 +0000 (11:06 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:41 +0000 (17:22 -0600)
commit0f89f0ece50ec12fcec70f22b3a6ea9fd2051688
tree980b1c4f9ce4bb8ab24a638ad146eaf769aacf30
parent1fcfca78129325c067b1d26f8a1fa33ecc1052c8
nvme-apple: use nvme core helper to cancel requests in tagset

Use nvme core helper nvme_cancel_tagset and nvme_cancel_admin_tagset
instead of same logic code.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Ruozhu Li <liruozhu@huawei.com>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/apple.c