From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 7 Dec 2016 12:16:50 -0800 From: Eric Biggers To: Jaegeuk Kim Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 1/2] f2fs: detect wrong layout Message-ID: <20161207201650.GA125037@google.com> References: <20161207011625.15591-1-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161207011625.15591-1-jaegeuk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: 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 > Signed-off-by: Jaegeuk Kim > --- 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. Thanks! Eric