[PATCH nvme-4.18] nvme/pci: Hold controller reference during async probe
Christoph Hellwig
hch at infradead.org
Tue May 8 22:12:17 PDT 2018
On Mon, May 07, 2018 at 10:43:22AM -0600, Keith Busch wrote:
> It is possible the driver's remove may have freed the controller if
> the remove callback is invoked prior to the async_schedule starting
> the reset_work. This patch fixes that by holding a reference on the
> controller.
>
> Reported-by: Mikulas Patocka <mpatocka at redhat.com>
> Signed-off-by: Keith Busch <keith.busch at intel.com>
Looks fine,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list