Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1223680pxb; Sat, 16 Apr 2022 02:09:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw21v9/7XCJlUfEGGuaFUhvmhWJp/K8V8X6/B+LwEMMMZVbTZYEYJa5XEd6Kn1ZBSPV3W9/ X-Received: by 2002:a65:55c4:0:b0:381:71f9:cd35 with SMTP id k4-20020a6555c4000000b0038171f9cd35mr2213096pgs.94.1650100194796; Sat, 16 Apr 2022 02:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650100194; cv=none; d=google.com; s=arc-20160816; b=uHvGmelHw502YBBpTkPZshhwMLXr5LWjL/0m89nFPfk1iAxWjrjSnqOdqoHzCRaMQM cNjPIC7xh0dOkc+riB2jODO7WD1pbzONaOcAT2EOLBFS2MBOh8L4JClMD6+1pvUTZ7O1 m2U8+FxXcDk+riv24HvWn84zTEmlhYbZElJYVcjCn8l2aRrBDkvUB4J9Gq2W+TDTgMxM /XQfMrwZTut95L4nt8Hv03dPx6p04vANh84fLLyGu0vtVx3CypvJBGizBoDb5GIUuLAE dzsPc/WymGWvoNsqZ2cTAUWteK31nVMdjqjooPLiORDqY/sgDd+aCJPokYbAqFgpa/CT qgTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=OhkediGcyvdQTScZxtwjgXYdQ0PSAnpundIuOBxllNg=; b=r0WCpzP40CZobmRci14OgjO/FB4E1VVBGfil4VovFESbw0v7RwmK/Vc6LPI89vgTgH Q84tbfA5wwwsRmh4i7HxWOq6q9pI1vVoa5/TIJC8nWQUfwqSSU1q88qVGiQewSF9ByZa xfEwj4bnB88HkyHjxowjlWUog9zj0k7KZ0aaLlTZTMe0Irckkqu861XfZa3LrPPDulX0 pwk5OURjiOUGurXMjks2PCK9C0fGquZ0yBL6lCQWVC3/rsM7rIZ9u3PPfsGC9U+Y+9dD DIyBGKBmtWucG/mxOShaaBM9Ec7rETwbgKCHlxzDHR63Nb+DPMrVIKuW2xtY3lFiYJ/N u32Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=MyipeEeF; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a056a00239100b004fdcc444adcsi3940941pfc.82.2022.04.16.02.09.37; Sat, 16 Apr 2022 02:09:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=MyipeEeF; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229436AbiDPJAp (ORCPT + 99 others); Sat, 16 Apr 2022 05:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbiDPJAp (ORCPT ); Sat, 16 Apr 2022 05:00:45 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 626FCFA202 for ; Sat, 16 Apr 2022 01:58:14 -0700 (PDT) Received: from localhost (mdns.lwn.net [45.79.72.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 963902CC; Sat, 16 Apr 2022 08:58:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 963902CC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1650099492; bh=OhkediGcyvdQTScZxtwjgXYdQ0PSAnpundIuOBxllNg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=MyipeEeFbwS2Ds2yQBHwTfSagmzpaOURNBjU50SNz4FlPw/vjcAne/KHqUJdFtFhl eohzz7Jjqfh5D7Nx2ZjqpURf2AVxnkrH4KuD/n4gTuPX2rmVzF8C0o+g2XeqRcZ0rA wYDSX6RhhOcLI+pZNcKEWu+FFlOW09/Ph5z3ruQYTA5w0reUbD13mUk20AkAAspwG+ CcPu6t+1uqNp8kD5QBWf3I4rez54xy8VKtdE0rpmpsy7GEM8/gA//W3j56NHqXSI+r LXngFgBYVrGbF4kAx453c04sDnFaQPTT3d6VdQVdF4P3lWDLFMnEumw9firF9dTnh+ +pxZo7RhCfiyA== From: Jonathan Corbet To: "wangjianjian (C)" , tytso@mit.edu, adilger.kernel@dilger.ca Cc: linux-ext4@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] ext4, doc: Fix incorrect h_reserved size In-Reply-To: <34889f32-7dd9-125e-2f7a-734faa395d20@huawei.com> References: <34889f32-7dd9-125e-2f7a-734faa395d20@huawei.com> Date: Sat, 16 Apr 2022 02:58:08 -0600 Message-ID: <87ee1x2yn3.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org "wangjianjian (C)" writes: > According to document and code, ext4_xattr_header's size is 32 bytes, so > h_reserved size should be 3. > > Signed-off-by: Wang Jianjian > --- > =C2=A0Documentation/filesystems/ext4/attributes.rst | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/filesystems/ext4/attributes.rst=20 > b/Documentation/filesystems/ext4/attributes.rst > index 54386a010a8d..871d2da7a0a9 100644 > --- a/Documentation/filesystems/ext4/attributes.rst > +++ b/Documentation/filesystems/ext4/attributes.rst > @@ -76,7 +76,7 @@ The beginning of an extended attribute block is in > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - Checksum of the extended attribute bloc= k. > =C2=A0=C2=A0=C2=A0 * - 0x14 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - \_\_u32 > -=C2=A0=C2=A0=C2=A0=C2=A0 - h\_reserved[2] > +=C2=A0=C2=A0=C2=A0=C2=A0 - h\_reserved[3] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - Zero. > So this patch looks whitespace-damaged, please be sure that you can send applyable patches to the list. Beyond that, though, while you're in the neighborhood, please fix the unnecessary underscore escaping (i.e. s/\_/_/). Thanks, jon