summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/initio.h
diff options
context:
space:
mode:
authorVaughan Cao <vaughan.cao@oracle.com>2013-08-29 04:00:37 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-09-03 16:28:09 +0200
commit00b2d9d6d05b56fc1d77071ff8ccbd2c65b48dec (patch)
treea7d2ef1188d8c631f80316a6bc4f287eae3beb8e /drivers/scsi/initio.h
parent[SCSI] sg: use rwsem to solve race during exclusive open (diff)
downloadlinux-00b2d9d6d05b56fc1d77071ff8ccbd2c65b48dec.tar.xz
linux-00b2d9d6d05b56fc1d77071ff8ccbd2c65b48dec.zip
[SCSI] sg: no need sg_open_exclusive_lock
Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. 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 'drivers/scsi/initio.h')
0 files changed, 0 insertions, 0 deletions