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

Alexander Viro (viro@math.psu.edu)
Sun, 24 Mar 2002 12:39:12 -0500 (EST)


On Sun, 24 Mar 2002, Stevie O wrote:

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

Grr... Yes, indeed - sorry about a typo.

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