[SCSI] libsas: Accept SAM_GOOD for ATAPI devices in sas_ata_task_done
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 09:18:49 +0000 (01:18 -0800)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:15:29 +0000 (11:15 -0500)
commitd97db63f8dd22e7b669982e47db0c5e3f569a6b5
treedd0af0cdd51e3b84812f72d530b398421055cb46
parent38691593cda9674f41d8708eaa73b0b7e14e95c3
[SCSI] libsas: Accept SAM_GOOD for ATAPI devices in sas_ata_task_done

A sas_task sent to an ATAPI devices returns SAM_GOOD if successful.
Therefore, we should treat this the same way we treat ATA commands
that succeed.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_ata.c