/[linux-patches]/genpatches-2.6/tags/2.6.15-5/1019_2_i2o-scsi-oops-on-abort.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.15-5/1019_2_i2o-scsi-oops-on-abort.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291 - (show annotations) (download)
Tue Jan 31 20:13:37 2006 UTC (12 years, 9 months ago) by dsd
File size: 1343 byte(s)
2.6.15-5 release
1 From stable-bounces@linux.kernel.org Thu Jan 19 14:02:44 2006
2 Message-Id: <200601192201.k0JM141O030124@shell0.pdx.osdl.net>
3 To: theonetruekenny@yahoo.com, Markus.Lidel@shadowconnect.com,
4 stable@kernel.org, mm-commits@vger.kernel.org
5 From: akpm@osdl.org
6 Date: Thu, 19 Jan 2006 14:03:04 -0800
7 Cc:
8 Subject: Fix i2o_scsi oops on abort
9
10 From: Markus Lidel <Markus.Lidel@shadowconnect.com>
11
12 >From http://bugzilla.kernel.org/show_bug.cgi?id=5923
13
14 When a scsi command failed, an oops would result.
15
16 Back-to-back SMART queries would make the Seagate drives unhappy. The
17 second SMART query would timeout, and the command would be aborted.
18
19 From: Markus Lidel <Markus.Lidel@shadowconnect.com>
20 Cc: Kenny Simpson <theonetruekenny@yahoo.com>
21 Signed-off-by: Andrew Morton <akpm@osdl.org>
22 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
23 ---
24 drivers/message/i2o/i2o_scsi.c | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27 --- linux-2.6.15.1.orig/drivers/message/i2o/i2o_scsi.c
28 +++ linux-2.6.15.1/drivers/message/i2o/i2o_scsi.c
29 @@ -729,7 +729,7 @@ static int i2o_scsi_abort(struct scsi_cm
30 &msg->u.head[1]);
31 writel(i2o_cntxt_list_get_ptr(c, SCpnt), &msg->body[0]);
32
33 - if (i2o_msg_post_wait(c, m, I2O_TIMEOUT_SCSI_SCB_ABORT))
34 + if (!i2o_msg_post_wait(c, msg, I2O_TIMEOUT_SCSI_SCB_ABORT))
35 status = SUCCESS;
36
37 return status;

  ViewVC Help
Powered by ViewVC 1.1.20