From: Willem Riede Date: Mon, 31 Oct 2005 00:03:49 +0000 (+0000) Subject: [SCSI] ide-scsi fails to call idescsi_check_condition for things like "Medium not... X-Git-Tag: v2.6.15-rc1~7^2~13^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3256534776203d4d86fea508e66cfde2b06d39a2;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed