aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2018-02-22 09:49:35 +0100
committerMartin K. Petersen <[email protected]>2018-03-01 20:16:50 -0500
commit1c6cacf4ea6c04a58a0e3057f5ed60c24a4ffeff (patch)
tree63796fdf986b01e35d7c872c83657e7873a2dd11 /tools/perf/util/trace-event-scripting.c
parent1514839b366417934e2f1328edb50ed1e8a719f5 (diff)
scsi: qla2xxx: Fixup locking for session deletion
Commit d8630bb95f46 ('Serialize session deletion by using work_lock') tries to fixup a deadlock when deleting sessions, but fails to take into account the locking rules. This patch resolves the situation by introducing a separate lock for processing the GNLIST response, and ensures that sess_lock is released before calling qlt_schedule_sess_delete(). Cc: Himanshu Madhani <[email protected]> Cc: Quinn Tran <[email protected]> Fixes: d8630bb95f46 ("scsi: qla2xxx: Serialize session deletion by using work_lock") Signed-off-by: Hannes Reinecke <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions