Commit 543ce5ea authored by Jens Axboe's avatar Jens Axboe Committed by James Bottomley

[PATCH] ide-scsi bad queuecommand return

ide-scsi completes a command but returns ownership to the mid layer.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent bb8adb2e
......@@ -891,7 +891,7 @@ static int idescsi_queue (struct scsi_cmnd *cmd,
if (rq) kfree (rq);
cmd->result = DID_ERROR << 16;
done(cmd);
return 1;
return 0;
}
static int idescsi_eh_abort (struct scsi_cmnd *cmd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment