Return-Path: Subject: Re: [PATCH 09/17] nvme: simplify nvme_open To: Christoph Hellwig , Jens Axboe Cc: Keith Busch , Sagi Grimberg , Johannes Thumshirn , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org References: <20171023145126.2471-1-hch@lst.de> <20171023145126.2471-10-hch@lst.de> From: Hannes Reinecke Message-ID: Date: Tue, 24 Oct 2017 09:21:48 +0200 MIME-Version: 1.0 In-Reply-To: <20171023145126.2471-10-hch@lst.de> Content-Type: text/plain; charset=utf-8 List-ID: On 10/23/2017 04:51 PM, Christoph Hellwig wrote: > 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 > Reviewed-by: Sagi Grimberg > Reviewed-by: Johannes Thumshirn > --- > drivers/nvme/host/core.c | 40 ++++++++++------------------------------ > 1 file changed, 10 insertions(+), 30 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)