mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-14 18:22:56 +00:00
Revert revert of "[SCSI] fix usb storage oops"
This reverts commit1b0997f561, which in turn reverted34ea80ec6a(which is thus re-instated). Quoth James Bottomley: "All it's doing is deferring the device_put() from the scsi_put_command() to after the scsi_run_queue(), which doesn't fix the sleep while atomic problem of the device release method. In both cases we still get the semaphore in atomic context problem which is caused by scsi_reap_target() doing a device_del(), which I assumed (wrongly) was valid from atomic context." who also promised to fix scsi_reap_target(). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5036805be7
commit
49d7bc6428
1 changed files with 8 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue