summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/pci.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-10-18 13:22:00 +0200
committerChristoph Hellwig <hch@lst.de>2017-10-27 09:03:31 +0300
commitc6424a90da446cff6c67be06767fc0d0be787110 (patch)
treefe842372c8f6fea4b651d420ee08c8d6c1ac9a60 /drivers/nvme/host/pci.c
parent2dd4122854f697afc777582d18548dded03ce5dd (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>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions