lkml.org 
[lkml]   [2006]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Infinite retries reading the partition table


Luben Tuikov wrote:
...snip...
> This statement in scsi_io_completion() causes the infinite retry loop:
> if (scsi_end_request(cmd, 1, good_bytes, !!result) == NULL)
> return;

The code in 2.6.19 is "result==0", not "!!result", which is logically
the same as "result!=0". Did you mean to change the logic here?
Am I missing something?

Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-05 21:43    [W:0.040 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site