[SCSI] scsi_dh_rdac: Fix for returning correct mode select cmd return info
authorMoger, Babu <Babu.Moger@lsi.com>
Fri, 28 Aug 2009 14:18:39 +0000 (08:18 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 2 Oct 2009 14:45:09 +0000 (09:45 -0500)
commitc0630f76d09131d606857a3da39739791d2c7b35
treec387669dd7560ac4691d558037ca7cfcdaded737
parent348764024f1cd6e1c0e94e775a3a3cc2f8b41879
[SCSI] scsi_dh_rdac: Fix for returning correct mode select cmd return info

The function mode_select_handle_sense returns SCSI_DH_OK even when there is a sense code which is incorrect. Removing it so that it returns SCSI_DH_IO when there is sense that is not handled by this function.

Signed-off-by: Babu Moger <babu.moger@lsi.com>
Reviewed-by: Vijay Chauhan <vijay.chauhan@lsi.com>
Reviewed-by: Bob Stankey <Robert.stankey@lsi.com>
Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_rdac.c