]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] Revert "sg: push file descriptor list locking down to per-device locking"
authorJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 09:21:57 +0000 (10:21 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 09:58:07 +0000 (10:58 +0100)
commit08fc901620895d3a14fe407df96b98ad6e767314
treee1e67d3d50fab46ed53c3d021767a018ee38a2a9
parentef9d279dbdd810bbd2d50c3ce5fd024c647210bd
[SCSI] Revert "sg: push file descriptor list locking down to per-device locking"

This reverts commit a6f175f82d2582dbd204e3da4dd1ec4b238b99f4.

This is one of four patches that was causing this bug

[  205.372823] ================================================
[  205.372901] [ BUG: lock held when returning to user space! ]
[  205.372979] 3.12.0-rc6-hw-debug-pagealloc+ #67 Not tainted
[  205.373055] ------------------------------------------------
[  205.373132] megarc.bin/5283 is leaving the kernel with locks still held!
[  205.373212] 1 lock held by megarc.bin/5283:
[  205.373285]  #0:  (&sdp->o_sem){.+.+..}, at: [<ffffffff8161e650>] sg_open+0x3a0/0x4d0

Cc: Vaughan Cao <vaughan.cao@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sg.c