Re: [PATCH 1/2] f2fs: detect wrong layout

From: Jaegeuk Kim
Date: Wed Dec 07 2016 - 17:37:20 EST


On Wed, Dec 07, 2016 at 12:16:50PM -0800, Eric Biggers wrote:
> On Tue, Dec 06, 2016 at 05:16:24PM -0800, Jaegeuk Kim wrote:
> > Previous mkfs.f2fs allows small partition inappropriately, so f2fs should detect
> > that as well.
> >
> > Refer this in f2fs-tools.
> >
> > mkfs.f2fs: detect small partition by overprovision ratio and # of segments
> >
> > Reported-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> > Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
> > ---
>
> Hi Jaegeuk, I tested these two patches and they seem to work correctly --- the
> kernel now doesn't allow mounting a 32 MB f2fs filesystem.

Okay, thank you for verifying this.
Let me put Tested-by you. ;)

Thanks,

>
> Thanks!
>
> Eric