nvme-rdma: stop controller reset if the controller is deleting
authorSagi Grimberg <sagi@grimberg.me>
Wed, 11 Oct 2017 09:49:51 +0000 (12:49 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 17:29:39 +0000 (19:29 +0200)
commit0ad0bfa29822904b9186a1c04dbfb3014bc5dc8a
tree802d274e719dff71de1330232ab713f3259ae01a
parent5013e98b5e8db50144e8f1ca5a96aed95d4d48a0
nvme-rdma: stop controller reset if the controller is deleting

If the controller is deleting (in case the user decided to delete it), we
have no point to continue reset sequence.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c