aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2014-09-13 12:26:34 +0200
committerGreg Kroah-Hartman <[email protected]>2014-09-23 21:42:10 -0700
commit60d9f67d478e7c8ed09e3a6888b29aca2d978979 (patch)
tree10096e48239cf0482a9a77e9c828912ea5c2fd68 /scripts/objdiff
parentd89da03acec19b39506f3ef32e09134b50b4adb9 (diff)
uas: Simplify unlink of data urbs on error
There is no need for all the trickery with dropping the lock, we can simply reference the urbs while we hold the lock to ensure the urbs don't disappear beneath us, and do the actual unlink (+ unreference) after we've dropped the lock. This also fixes a race where we may loose of cmnd ownership to the scsi midlayer without holding the lock due to the midlayer re-claiming ownership through an abort (which will be handled by a future patch in this series). Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions