]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-loop: Remove duplicate call to nvme_remove_namespaces
authorSagi Grimberg <sagi@grimberg.me>
Sun, 24 Jul 2016 06:32:08 +0000 (09:32 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Wed, 3 Aug 2016 13:25:19 +0000 (16:25 +0300)
commit9ef3f8308014e0ebc67dac35bf1f675da5e44e3a
tree3df0082b6a728199990442ba89d2f6ce0aef8ff9
parenta1c7d5fe2ae7cfe671cdab084cdcb00dde71d3b5
nvme-loop: Remove duplicate call to nvme_remove_namespaces

nvme_uninit_ctrl already does that for us. Note that we
reordered nvme_loop_shutdown_ctrl with nvme_uninit_ctrl
but its safe because we want controller uninit to happen
before we shutdown the transport resources.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/loop.c