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

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Nov 18 2000 - 19:46:29 EST


On Sun, 19 Nov 2000, Andrea Arcangeli wrote:

> On Sat, Nov 18, 2000 at 04:55:23PM -0500, Alexander Viro wrote:
> > > if (size >> 33) {
> > ITYM 32
>
> this is a bug in 2.2.x mainstream btw.

I don't have recent 2.2 at hand, but...

ed fs/ext2/inode.c <<EOF
/ext2_notify_change/
/size >> 33/
s/33/32/
w
q
EOF

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.

-
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