[PATCH 1/8] NVMe: Reference count open namespaces

Keith Busch keith.busch at intel.com
Thu Oct 8 08:47:31 PDT 2015


On Thu, 8 Oct 2015, Sagi Grimberg wrote:
> On 10/3/2015 4:39 PM, Christoph Hellwig wrote:
>> +	else if (!kref_get_unless_zero(&ns->dev->kref)) {
>> +		kref_put(&ns->kref, nvme_free_ns);
>
> Is this calling nvme_free_ns with dev_list_lock taken?

Yeah, patch 2/8 in this series fixes it. I should have squashed those two.



More information about the Linux-nvme mailing list