Home
last modified time | relevance | path

Searched hist:"38582 a62ecd337de4212004c7d4844899dc57890" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/
H A Dsr_ioctl.cdiff 38582a62ecd337de4212004c7d4844899dc57890 Wed Feb 06 20:01:58 CET 2008 James Bottomley <James.Bottomley@HansenPartnership.com> [SCSI] sr: fix test unit ready responses

Commit 210ba1d1724f5c4ed87a2ab1a21ca861a915f734 updated sr.c to use
the scsi_test_unit_ready() function. Unfortunately, this has the
wrong characteristic of eating NOT_READY returns which sr.c relies on
for tray status.

Fix by rolling an internal sr_test_unit_ready() that doesn't do this.

Tested-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
H A Dsr.cdiff 38582a62ecd337de4212004c7d4844899dc57890 Wed Feb 06 20:01:58 CET 2008 James Bottomley <James.Bottomley@HansenPartnership.com> [SCSI] sr: fix test unit ready responses

Commit 210ba1d1724f5c4ed87a2ab1a21ca861a915f734 updated sr.c to use
the scsi_test_unit_ready() function. Unfortunately, this has the
wrong characteristic of eating NOT_READY returns which sr.c relies on
for tray status.

Fix by rolling an internal sr_test_unit_ready() that doesn't do this.

Tested-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>