summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2010-12-01 03:18:23 +0300
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 21:24:20 +0300
commit3c2c3bf23cbef8eed6cf815715d0bece5cb7b5ec (patch)
tree3cca737e6945e452aeb8888c3aa36939d76aa338 /tools/perf/scripts/python/syscall-counts.py
parent2034c19ce8f8503aa14cb1e763fbfe60316aaa8e (diff)
downloadlinux-3c2c3bf23cbef8eed6cf815715d0bece5cb7b5ec.tar.xz
[SCSI] libfc: Fix incorrect locking and unlocking in FCP
The error handler grabs the si->scsi_queue_lock, but in the case where the fsp pointer is NULL it releases the scsi_host lock. This can lead to a variety of system hangs depending on which is used first- the scsi_host lock or the scsi_queue_lock. This patch simply unlocks the correct lock when fcp is NULL. Signed-off-by: Robert Love <robert.w.love@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions