diff options
author | James Bottomley <JBottomley@Parallels.com> | 2013-10-25 13:25:14 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-10-25 13:59:02 +0400 |
commit | bafc8ad82d482f9ecb9111969a3fdcef366bf8cb (patch) | |
tree | 6e6ad87c84fd2b8d6d2a78c1c5c160db3a3e18c7 /lib/klist.c | |
parent | c0d3b9c29ed22d449481bcfac267a879034a3a5b (diff) | |
download | linux-bafc8ad82d482f9ecb9111969a3fdcef366bf8cb.tar.xz |
[SCSI] Revert "sg: checking sdp->detached isn't protected when open"
This reverts commit e32c9e6300e3af659cbfe45e90a1e7dcd3572ada.
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions