aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorKashyap, Desai <[email protected]>2010-03-17 10:52:21 +0000
committerJames Bottomley <[email protected]>2010-04-11 14:23:54 +0000
commitf891dcfdc11d2004253861f51d627bfda6773c76 (patch)
tree01a4387498cc864d18f25a2ab743aede2b33b292 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parent[SCSI] mpt2sas: Corrected time stamp (diff)
downloadkernel-f891dcfdc11d2004253861f51d627bfda6773c76.tar.gz
kernel-f891dcfdc11d2004253861f51d627bfda6773c76.zip
[SCSI] mpt2sas: Corrected conditional checks for Internal device Reset
bug fix in the handling of the internal device reset event The reason code check in scsih_sas_device_status_change_event never evaluates as true for internal device reset, hence driver never quiesce s IO when firmware is sending a device reset. The fix is to change the evaluate to: if (event_data->ReasonCode != MPI2_EVENT_SAS_DEV_STAT_RC_INTERNAL_DEVICE_RESET && event_data->ReasonCode != MPI2_EVENT_SAS_DEV_STAT_RC_CMP_INTERNAL_DEV_RESET) return; Signed-off-by: Kashyap Desai <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions