nvme-loop: use nvme core helpers to cancel all requests in a tagset
authorSagi Grimberg <sagi@grimberg.me>
Sun, 26 Jun 2022 14:06:00 +0000 (17:06 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:47 +0000 (17:14 -0600)
commite41f8c0222e30aadc58b84fcb33472a1505018f3
tree91532fd47968844ba212b2ea7abebaf83db8a52a
parentb10907b8159f6524a7393339fe5671951e00eced
nvme-loop: use nvme core helpers to cancel all requests in a tagset

A helper now exist, no need to open-code the same functionality.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/loop.c