[SCSI] libsas: better error handling in sas_expander.c
authorJames Bottomley <James.Bottomley@steeleye.com>
Thu, 16 Nov 2006 00:03:07 +0000 (18:03 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 3 Dec 2006 18:29:46 +0000 (12:29 -0600)
commit024879ead9594acab30ce9e23c955086e2d967a0
tree74936c283777d7bdcd0c722a33a23eb323cabf8d
parentba8d55048ae08c442a27944e8beb76e73c3cce03
[SCSI] libsas: better error handling in sas_expander.c

With async scanning, we're now tripping the BUG_ON in
sas_ex_discover_end_dev(), so make the error handling here correct.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_expander.c