commit | 80f513b5056d0bf127653d2327b7b24e322dc7e3 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Mon May 07 08:30:24 2018 -0600 |
committer | Keith Busch <keith.busch@intel.com> | Mon May 07 08:30:24 2018 -0600 |
tree | f1e68c4104d1e77433a3a596b431ea9efdd4effe | |
parent | 3831761eb859f5599a522f064007b31100510c3a [diff] |
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: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Keith Busch <keith.busch@intel.com>