Re: JFS resize=0 problem in 2.6.0

Mike Fedyk
2003-12-29T00:05:16Z

On Sun, Dec 28, 2003 at 10:30:28AM -0500, lkml@dhtns.com 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?