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

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sat Jun 24 2000 - 21:00:24 EST


Alan Cox <alan@lxorguk.ukuu.org.uk> said:
> "Tigran Aivazian" at Jun 24, 2000 01:12:29 PM said:
> > >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..

In a struct the order of the fields is guaranteed the same as in the
source. What could go wrong here?

> If anything you need to use an array.

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616

- 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:06 EST