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

Stevie O (stevie@qrpff.net)
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;

--
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/