NVMe: Namespace removal simplifications
authorKeith Busch <keith.busch@intel.com>
Fri, 2 Oct 2015 16:37:28 +0000 (10:37 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 9 Oct 2015 16:40:36 +0000 (10:40 -0600)
commit5105aa555c1c681ae281ea0d6108efd0a5d8a5e8
tree632da12e8be617c320b4b2857b31e38213a07dbf
parent188c3568f814fea965947ed24739987ba9c5a87e
NVMe: Namespace removal simplifications

This liberates namespace removal from the device, allowing gendisk
references to be closed independent of the nvme controller reference
count.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c