From: Brian King Date: Tue, 14 Jul 2015 16:41:29 +0000 (-0500) Subject: ipr: Fix locking for unit attention handling X-Git-Tag: omap-for-v4.3/fixes-merge-window~152^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b8e180e1e929e00b351c3b72aab3147fc14116;p=pandora-kernel.git 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: Reviewed-by: Wen Xiong Reviewed-by: Gabriel Krisman Bertazi Signed-off-by: Brian King Reviewed-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed