diff options
author | Vaughan Cao <vaughan.cao@oracle.com> | 2013-08-29 04:00:39 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-03 16:28:10 +0200 |
commit | 1f962ebcdfa15cede59e9edb299d1330949eec92 (patch) | |
tree | 0b2018c25b6774bd8cd3d97c1201670c1470de52 /scripts/extract-ikconfig | |
parent | [SCSI] sg: checking sdp->detached isn't protected when open (diff) | |
download | linux-1f962ebcdfa15cede59e9edb299d1330949eec92.tar.xz linux-1f962ebcdfa15cede59e9edb299d1330949eec92.zip |
[SCSI] sg: push file descriptor list locking down to per-device locking
Push file descriptor list locking down to per-device locking. Let sg_index_lock
only protect device lookup.
sdp->detached is also set and checked with this lock held.
Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'scripts/extract-ikconfig')
0 files changed, 0 insertions, 0 deletions