Re: [PATCH] ext2 largefile fixes + [f]truncate() error value fix

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Nov 18 2000 - 20:39:56 EST


On Sat, 18 Nov 2000, Alexander Viro wrote:

> On Sun, 19 Nov 2000, Alan Cox wrote:
>
> > > is probably in order. Alan? Place in question is the check for notify_change()
> > > growing the file past 4Gb - it should check for size >> 32, obviously.
> >
> > The 2.2 limit is 2Gbytes
>
> <slaps the forehead> Sorry.

Erm... (size >> 33) is equivalent to size >= (1<<33), and that's 8Gb, not 2Gb.
So unless I've gone completely crazy it should be (size >> 31)...

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:16 EST