[SCSI] megaraid_sas: do not process cmds if hw_crit_error is set
authorSumant Patro <sumantp@lsil.com>
Wed, 14 Feb 2007 20:34:46 +0000 (12:34 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 16 Feb 2007 16:15:29 +0000 (10:15 -0600)
commitaf37acfb63d8e924550e67b884dbd1c478e26c96
tree2b3230cf515361b9aef1c43ae22df4e131530ef3
parenta9b7320294f885be6087bdef7a0e25922c36eb1b
[SCSI] megaraid_sas: do not process cmds if hw_crit_error is set

Checks if hw_crit_error is set.
If it is set, we donot process commands.
Checks added in megasas_queue_command and command completion routines.

Signed-off-by: Sumant Patro <sumant.patro@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/megaraid_sas.c