aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2013-01-30 23:45:08 -0600
committerJames Bottomley <JBottomley@Parallels.com>2013-02-24 08:24:48 +0000
commitbfae7820b87c61c5065338b55405b304d9890085 (patch)
tree91a44896815ff906ed424c2fcbd5dd15ac87f86f /include/scsi
parent4d7007b49d523d8f954ae047118d82c130f673ce (diff)
downloadkernel_goldelico_gta04-bfae7820b87c61c5065338b55405b304d9890085.zip
kernel_goldelico_gta04-bfae7820b87c61c5065338b55405b304d9890085.tar.gz
kernel_goldelico_gta04-bfae7820b87c61c5065338b55405b304d9890085.tar.bz2
[SCSI] ipr: Fix oops while resetting an ipr adapter
When resetting an ipr adapter, we use scsi_block_requests to block any new commands from scsi core, and then unblock after the reset. When hotplug removing an adapter, we shut it down and go through this same code, but we've seen issues with scsi_unblock_requests running after the adapter's memory has been freed. There is really no need to block/unblock when the adapter is being removed, so this patch skips the block/unblock and will immediately fail any commands that happen to make it to queuecommand while the adapter is being shutdown. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions