summaryrefslogtreecommitdiff
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2014-01-21 07:00:50 -0800
committerBen Hutchings <ben@decadent.org.uk>2014-07-11 13:33:56 +0100
commit181086c6cc8a186f26bbb87872e48bb7973fdc28 (patch)
treed08bb67265ed92c0b42d42cd1e9c6a5c4195f21b /drivers/vlynq
parentb5a10549d528827aa331c1d95a6170032718babe (diff)
fix our current target reap infrastructure
commit e63ed0d7a98014fdfc2cfeb3f6dada313dcabb59 upstream. This patch eliminates the reap_ref and replaces it with a proper kref. On last put of this kref, the target is removed from visibility in sysfs. The final call to scsi_target_reap() for the device is done from __scsi_remove_device() and only if the device was made visible. This ensures that the target disappears as soon as the last device is gone rather than waiting until final release of the device (which is often too long). Reviewed-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions