[SCSI] mpt2sas: Do not call sas_is_tlr_enabled for RAID volumes.
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 17 Feb 2010 10:38:36 +0000 (16:08 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 23:49:25 +0000 (17:49 -0600)
For RAID volume sas_is_tlr_enabled call will hit BUG at
scsi_transport_sas.c:163, since raid volume
is not visible to sas transport layer.
Now Added check to make sure arg pass in sas_is_tlr_enabled() is not a volume.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c

Simple merge