diff options
author | 2017-06-23 09:10:11 +0200 | |
---|---|---|
committer | 2017-07-01 16:49:27 -0400 | |
commit | 578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec (patch) | |
tree | 806db1510aab23d715e98a024dde42b680de6256 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: sun_esp: fix device reference leaks (diff) | |
download | linux-dev-578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec.tar.xz linux-dev-578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec.zip |
scsi: qla2xxx: Protect access to qpair members with qpair->qp_lock
In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the
qpair->qp_lock but do access members of the qpair before having the lock.
Re-order the locking sequence to have all read and write access to qpair
members under the qpair->qp_lock.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions