commit | c6424a90da446cff6c67be06767fc0d0be787110 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Oct 18 13:22:00 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Oct 27 09:03:31 2017 +0300 |
tree | fe842372c8f6fea4b651d420ee08c8d6c1ac9a60 | |
parent | 2dd4122854f697afc777582d18548dded03ce5dd [diff] |
nvme: simplify nvme_open Now that we are protected against lookup vs free races for the namespace by using kref_get_unless_zero we don't need the hack of NULLing out the disk private data during removal. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>