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