lkml.org 
[lkml]   [2002]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.5] seq_file for /proc/partitions
At 11:11 PM 3/23/2002 -0500, Alexander Viro wrote:
>> + return part_start(part, pos);
>
>Erm... Actually that _is_ wrong - what you want is
>
> return ((struct gendisk)v)->next;

Forgive my ignorance, but that doesn't look right....
shouldn't it REALLY be

return ((struct gendisk*)v)->next;


--
Stevie-O

Real programmers use COPY CON PROGRAM.EXE

-
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: 2005-03-22 13:25    [W:0.361 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site