]> err.no Git - linux-2.6/commit
[PATCH] ide: ide-scsi fails to call idescsi_check_condition for things like "Medium...
authorWillem Riede <wrlk@riede.org>
Wed, 9 Nov 2005 22:18:22 +0000 (23:18 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 9 Nov 2005 22:18:22 +0000 (23:18 +0100)
commit0046b06a367cd853efd3223ce60143f3a7952522
tree5c531a7d07e2f8ebb14e6e9cb2004e566c0bb225
parente851b620e775c9f0e00b1c7e35072d6b98097cb9
[PATCH] ide: 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.

The patch below makes ide-scsi whole.

Signed-off-by: Willem Riede <wrlk@riede.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/scsi/ide-scsi.c