[SCSI] scsi_dh_alua: Add one more check-condition for alua handler
authorMoger, Babu <Babu.Moger@netapp.com>
Thu, 6 Oct 2011 17:22:07 +0000 (13:22 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 15:57:27 +0000 (10:57 -0500)
commitbf81973a5d907ca1226e295ef67f650b8f4e9b4c
tree57f80e1a9a23a6630a1b3f3c642aaaad60307bef
parent14ed9cc7e7b9a95d56c2bf91cab2f010968d6e73
[SCSI] scsi_dh_alua: Add one more check-condition for alua handler

This patch adds one more check-condition for scsi_dh_alua handler. Without
this, the handler attach fails sometimes during the discovery. I have noticed
this with NetApp E-Series storage with alua mode. Also removed some
unnecessary brackets {} for consistency.

Signed-off-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c