diff options
author | Keith Busch <[email protected]> | 2020-08-26 10:53:04 -0700 |
---|---|---|
committer | Sagi Grimberg <[email protected]> | 2020-08-28 16:43:57 -0700 |
commit | 192f6c29bb28bfd0a17e6ad331d09f1ec84143d0 (patch) | |
tree | f3e67ba8d3dbb4d0a60ea54bc6956165a90ed7cd /include/linux/fpga/fpga-mgr.h | |
parent | 70e37988db94aba607d5491a94f80ba08e399b6b (diff) |
nvme: fix controller instance leak
If the driver has to unbind from the controller for an early failure
before the subsystem has been set up, there won't be a subsystem holding
the controller's instance, so the controller needs to free its own
instance in this case.
Fixes: 733e4b69d508d ("nvme: Assign subsys instance from first ctrl")
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions