From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com ([209.132.183.28]:48858 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754555AbbLXIKO (ORCPT ); Thu, 24 Dec 2015 03:10:14 -0500 Date: Thu, 24 Dec 2015 16:10:10 +0800 From: Eryu Guan Subject: Re: [PATCH] shared: test mount needs_recovery extN partition with noload option Message-ID: <20151224081010.GI2535@eguan.usersys.redhat.com> References: <1450942226-19882-1-git-send-email-xzhou@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450942226-19882-1-git-send-email-xzhou@redhat.com> Sender: fstests-owner@vger.kernel.org To: Xiong Zhou Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, dmonakhov@openvz.org List-ID: On Thu, Dec 24, 2015 at 03:30:26PM +0800, Xiong Zhou wrote: > Once upon a time, ext4 encounter NULL pointer dereference under this > situaiton due to jump to a wrong label. Part of this commit fixed > this Oops: > > 744692d ext4: use ext4_get_block_write in buffer write > > We can also run this test on ext2/3. Note that fsck will fail on > ext2 due to: > "Superblock needs_recovery flag is set, but no journal is present" I don't think fsck is needed in this test, superblock is modified on purpose and ext2 always fails the check. So changing _require_scratch to _require_scratch_nocheck would be good. Otherwise looks good to me. Thanks, Eryu