summaryrefslogtreecommitdiff
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2015-07-14 11:41:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-16 20:51:46 -0700
commit5bf24594a1d36bc089df0082040facad40a4a6bb (patch)
tree28cafdb3330aca2c74c64082a3d4b95c53592849 /kernel/tsacct.c
parent31729d57da34a5449389689bc30c1027782475d8 (diff)
downloadlwn-5bf24594a1d36bc089df0082040facad40a4a6bb.tar.gz
lwn-5bf24594a1d36bc089df0082040facad40a4a6bb.zip
ipr: Fix locking for unit attention handling
commit 36b8e180e1e929e00b351c3b72aab3147fc14116 upstream. 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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions