aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorVaughan Cao <[email protected]>2013-08-29 10:00:38 +0800
committerJames Bottomley <[email protected]>2013-09-03 07:28:09 -0700
commite32c9e6300e3af659cbfe45e90a1e7dcd3572ada (patch)
tree2e924a5838335cbfca0cf52a0add8e38801773e2 /fs/jbd/commit.c
parent00b2d9d6d05b56fc1d77071ff8ccbd2c65b48dec (diff)
[SCSI] sg: checking sdp->detached isn't protected when open
@detached is set under the protection of sg_index_lock. Without getting the lock, new sfp will be added during sg removal and there is no chance for it to be picked out. So check with sg_index_lock held in sg_add_sfp(). Signed-off-by: Vaughan Cao <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions