Re: JFS resize=0 problem in 2.6.0

From: Mike Fedyk
Date: Sun Dec 28 2003 - 19:06:36 EST


On Sun, Dec 28, 2003 at 10:30:28AM -0500, lkml@xxxxxxxxx wrote:
> It seems to me that line 264 is attempting to test for the mount
> paramater "resize=0", and when it comes across this, resize to the full
> size of the volume. However, this doesn't work. I believe it should
> test for the char '0' (*resize=='0'), not against literal zero.
>
> Let me know if I'm way off base here. But the below patch does allow a
> $ mount -o remount,resize=0 /mnt/test
> to resize the jfs filesystem to the full size of the volume.

And it won't without the patch?

What errors do you get if it fails without the patch?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/