[PATCH 1/7] nvme: delete dev from dev_list in nvme_reset
hch at lst.de
Sat Oct 3 03:01:59 PDT 2015
On Fri, Oct 02, 2015 at 09:13:22PM +0000, Keith Busch wrote:
> A moment of panic when I saw this, but we're 'ok'. The reset handler calls
> nvme_dev_shutdown() first, and that removes the device from the list,
> so we won't really see a controller twice added in the list.
Oh. So we get a double list del there. I though list debuging would
complain about this. Anyway, let's make the deletion uniform and so that
any fixes can be applied to all callers in the same way.
More information about the Linux-nvme