[PATCH] libata-ncq: pass ata_scsi_translate() return value to SCSI midlayer
authorTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 12:03:39 +0000 (21:03 +0900)
committerTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 12:03:39 +0000 (21:03 +0900)
commit2115ea94a2d11fbd228b049e667ec2d3e91ca371
tree0584347308aa40af982f5f01d654a8186599b48c
parent88e490340ea4c3a2ebc0187a4339912e2fc1a081
[PATCH] libata-ncq: pass ata_scsi_translate() return value to SCSI midlayer

ata_scsi_translate() will need to return SCSI_ML_QUEUE_DEVICE_BUSY to
achieve exlusion between NCQ and non-NCQ commands or among non-NCQ
commands.  Pass its return value upward to SCSI midlayer.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-scsi.c