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.