diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2017-06-23 10:10:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-01 23:49:27 +0300 |
commit | 578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec (patch) | |
tree | 806db1510aab23d715e98a024dde42b680de6256 /usr | |
parent | f62f9ffdb5ef683ef8cffb43932fa72cc3713e94 (diff) | |
download | linux-578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec.tar.xz |
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 'usr')
0 files changed, 0 insertions, 0 deletions