Re: [patch-2.4.0-test2]Re: Linux-2.4.0-test2

From: Rui Sousa (rsousa@grad.physics.sunysb.edu)
Date: Sat Jun 24 2000 - 10:26:41 EST


Alan Cox wrote:
>
> > >To fix this, I followed (almost) the same technique as inodes_stat in
> > >fs/inode.c, i.e. gathered variables in a structure called files_stat.
> > >
> > >Tested under 2.3.99-pre10-3 (aka 2.4.0-test1)
> >
> > Now, tested under 2.4.0-test2.
>
> I havent submitted that to Linus. As someone pointed out the guarantee is
> not true for a struct either..
>
> If anything you need to use an array.
>

Are you saying that:
struct foo
{
        int x;
        int y;
} bar;

((int *)&bar + 1) != &bar.y

can sometimes be true?

Rui Sousa

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST