summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ultrastor.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2015-07-14 11:41:29 -0500
committerJames Bottomley <JBottomley@Odin.com>2015-07-30 10:36:21 -0700
commit36b8e180e1e929e00b351c3b72aab3147fc14116 (patch)
treefee08bd7133974334bf9c8d9d8ce1bc1435ab64b /drivers/scsi/ultrastor.h
parent1278dd6809b11dc298e19d81ac0916275f7318c1 (diff)
downloadlinux-36b8e180e1e929e00b351c3b72aab3147fc14116.tar.gz
linux-36b8e180e1e929e00b351c3b72aab3147fc14116.tar.bz2
linux-36b8e180e1e929e00b351c3b72aab3147fc14116.zip
ipr: Fix locking for unit attention handling
Make sure we have the host lock held when calling scsi_report_bus_reset. Fixes a crash seen as the __devices list in the scsi host was changing as we were iterating through it. Cc: <stable@vger.kernel.org> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/ultrastor.h')
0 files changed, 0 insertions, 0 deletions