Re: [patch 2.5] seq_file for /proc/partitions

Stevie O (
Sun, 24 Mar 2002 12:28:48 -0500

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;


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 More majordomo info at Please read the FAQ at