diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-18 14:22:00 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-10-27 09:03:31 +0300 |
commit | c6424a90da446cff6c67be06767fc0d0be787110 (patch) | |
tree | fe842372c8f6fea4b651d420ee08c8d6c1ac9a60 /drivers/nvme/host/fc.c | |
parent | 2dd4122854f697afc777582d18548dded03ce5dd (diff) | |
download | linux-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