From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932994AbcLGURi (ORCPT ); Wed, 7 Dec 2016 15:17:38 -0500 Received: from mail-pg0-f53.google.com ([74.125.83.53]:35243 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932830AbcLGURf (ORCPT ); Wed, 7 Dec 2016 15:17:35 -0500 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> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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