linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ide-scsi bad queuecommand return
@ 2004-11-19  8:51 Jens Axboe
  0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2004-11-19  8:51 UTC (permalink / raw)
  To: linux-scsi, James Bottomley

Hi,

ide-scsi completes a command but returns ownership to the mid layer.

Signed-off-by: Jens Axboe <axboe@suse.de>

===== drivers/scsi/ide-scsi.c 1.47 vs edited =====
--- 1.47/drivers/scsi/ide-scsi.c	2004-10-22 01:46:25 +02:00
+++ edited/drivers/scsi/ide-scsi.c	2004-11-18 22:54:09 +01:00
@@ -891,7 +891,7 @@ abort:
 	if (rq) kfree (rq);
 	cmd->result = DID_ERROR << 16;
 	done(cmd);
-	return 1;
+	return 0;
 }
 
 static int idescsi_eh_abort (struct scsi_cmnd *cmd)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-19  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19  8:51 [PATCH] ide-scsi bad queuecommand return Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).