]> Pileus Git - ~andy/linux/commit
[SCSI] ide-scsi fails to call idescsi_check_condition for things like "Medium not...
authorWillem Riede <wrlk@riede.org>
Mon, 31 Oct 2005 00:03:49 +0000 (00:03 +0000)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 6 Nov 2005 18:40:51 +0000 (12:40 -0600)
commit3256534776203d4d86fea508e66cfde2b06d39a2
treeb4025ca2639fe91489912cdb9a5034bd33a64749
parent8c0ae656230072eb29bde976d0a0a88d0b253a04
[SCSI] ide-scsi fails to call idescsi_check_condition for things like "Medium not present"

This patch started life as a response to fedora specific ide subsystem changes
that made error handling of my ATAPI tape drive fail; the specifics are in

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160868

The insertion of the statement rq->errors = err; near the end of
ide_end_drive_cmd() in drivers/ide/ide-io.c means that rq->errors does not
contain what it needs to in idescsi_end_request() in drivers/scsi/ide-scsi.c
anymore. Recent mainline kernels now also have this change.

Signed-off-by: Willem Riede <wrlk@riede.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ide-scsi.c