diff options
author | Jörn Engel <joern@logfs.org> | 2012-04-24 16:13:11 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 10:08:55 +0100 |
commit | b499e5249eb80e4a7e71cfd04c6f628abdb27498 (patch) | |
tree | 003abeec481756acce963a8c840e7f787d464c97 /drivers/hid/hid-logitech-dj.h | |
parent | 6acddc5e911bb3a4a007448371ed7317c85669da (diff) |
[SCSI] sg: protect sdp->exclude
Changes since v1: set_exclude now returns the new value, which gets
rid of the comma expression and the operator precedence bug. Thanks
to Douglas for spotting it.
sdp->exclude was previously protected by the BKL. The sg_mutex, which
replaced the BKL, only semi-protected it, as it was missing from
sg_release() and sg_proc_seq_show_debug(). Take an explicit spinlock
for it.
Signed-off-by: Joern Engel <joern@logfs.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/hid/hid-logitech-dj.h')
0 files changed, 0 insertions, 0 deletions