From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64E1CC43334 for ; Tue, 28 Jun 2022 22:59:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbiF1W7Z (ORCPT ); Tue, 28 Jun 2022 18:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbiF1W7Z (ORCPT ); Tue, 28 Jun 2022 18:59:25 -0400 Received: from mail105.syd.optusnet.com.au (mail105.syd.optusnet.com.au [211.29.132.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6F3A0369D5 for ; Tue, 28 Jun 2022 15:59:24 -0700 (PDT) Received: from dread.disaster.area (pa49-181-2-147.pa.nsw.optusnet.com.au [49.181.2.147]) by mail105.syd.optusnet.com.au (Postfix) with ESMTPS id 86C7910E78CC; Wed, 29 Jun 2022 08:59:23 +1000 (AEST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1o6KB0-00CFSz-F9; Wed, 29 Jun 2022 08:59:22 +1000 Date: Wed, 29 Jun 2022 08:59:22 +1000 From: Dave Chinner To: "Darrick J. Wong" Cc: sandeen@sandeen.net, linux-xfs@vger.kernel.org Subject: Re: [PATCH 3/6] xfs_repair: detect and fix padding fields that changed with nrext64 Message-ID: <20220628225922.GP227878@dread.disaster.area> References: <165644935451.1089996.13716062701488693755.stgit@magnolia> <165644937131.1089996.4905575997482466323.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165644937131.1089996.4905575997482466323.stgit@magnolia> X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.4 cv=VuxAv86n c=1 sm=1 tr=0 ts=62bb87cb a=ivVLWpVy4j68lT4lJFbQgw==:117 a=ivVLWpVy4j68lT4lJFbQgw==:17 a=kj9zAlcOel0A:10 a=JPEYwPQDsx4A:10 a=VwQbUJbxAAAA:8 a=20KFwNOVAAAA:8 a=7-415B0cAAAA:8 a=MLzlSksidhUzKaQaVXYA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 a=biEYGPWJfzWAr4FL6Ov7:22 Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Tue, Jun 28, 2022 at 01:49:31PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > Detect incorrectly set padding fields when large extent counts are > enabled or disabled on v3 inodes. > > Found by fuzzing v3.flags2 = zeroes with xfs/374 and an nrext64=1 > filesystem. > > Signed-off-by: Darrick J. Wong > --- > repair/dinode.c | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) Looks good. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com