summaryrefslogtreecommitdiffstats
path: root/drivers/block/rbd.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2016-07-24 08:29:51 +0200
committerSagi Grimberg <sagi@grimberg.me>2016-08-03 15:25:11 +0200
commit2461a8dd38bea3cb5b1c1f0323794483292fb03f (patch)
tree4b6582526507477def22b9be3fd8faffce627355 /drivers/block/rbd.c
parentnvme-rdma: Fix device removal handling (diff)
downloadlinux-2461a8dd38bea3cb5b1c1f0323794483292fb03f.tar.xz
linux-2461a8dd38bea3cb5b1c1f0323794483292fb03f.zip
nvme-rdma: Remove duplicate call to nvme_remove_namespaces
nvme_uninit_ctrl already does that for us. Note that we reordered nvme_rdma_shutdown_ctrl and nvme_uninit_ctrl, this is perfectly fine because we actually want ctrl uninit (aen, scan cancellation and namespaces removal) to happen before we shutdown the rdma resources. Also, centralize the deletion work and the dead controller removal work code duplication into __nvme_rdma_shutdown_ctrl that accepts a shutdown boolean. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/block/rbd.c')
0 files changed, 0 insertions, 0 deletions