Skip to content
Commit 80f513b5 authored by Keith Busch's avatar Keith Busch
Browse files

nvme/pci: Hold controller reference during async probe



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: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
parent 3831761e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment