From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933663AbcLGWhR (ORCPT ); Wed, 7 Dec 2016 17:37:17 -0500 Received: from mail.kernel.org ([198.145.29.136]:48594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932243AbcLGWhP (ORCPT ); Wed, 7 Dec 2016 17:37:15 -0500 Date: Wed, 7 Dec 2016 14:37:10 -0800 From: Jaegeuk Kim To: Eric Biggers 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: <20161207223710.GA3313@jaegeuk.local> References: <20161207011625.15591-1-jaegeuk@kernel.org> <20161207201650.GA125037@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161207201650.GA125037@google.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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. Okay, thank you for verifying this. Let me put Tested-by you. ;) Thanks, > > Thanks! > > Eric