Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp88168pxb; Wed, 30 Mar 2022 23:58:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXDqxTLNyiLmr04FKbR1xdv8Z+ekPKochznnvNUOKJ6e939TINWydokJTgKxye8QchCG3r X-Received: by 2002:a17:902:d88a:b0:156:1609:1e62 with SMTP id b10-20020a170902d88a00b0015616091e62mr17904149plz.143.1648709907694; Wed, 30 Mar 2022 23:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648709907; cv=none; d=google.com; s=arc-20160816; b=V+R68AoY8bZR7pIubK7N07OahMjUTGEGON4vGVnhQaR3W8bEMgz9Vk2IrJLTjFaaK5 4fgZd31ftDlSgy1fjbsifQQHo8Ir+XFuhVA4kXy6t5KIAihsaccItBUir1eNan3n0PI4 d0tP9YD7DG7pCVRWcNHuJoPq7UfvlXXj6yyjPxOk2DPuidg0COXrlp8nGKeq5maNDF0X 9QnDrUQwBLF+lk+bZ3u0qGdHfiRrCWKmhIF0hVboFhAoXDoKDvVpjpKr+R7P0YzqZzR7 MK2KbGAKbMQsnR3cdn+Gos2uQ0OrkNRPhF3+Ul1a/0WbAtWP93OswSRNYv58Ny0T0FTm HaSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id; bh=pJUujttlHoUjAoDCynwCkRdsaQvdHXhJ3d8CLFpFoIw=; b=N9WUyUA9qFe9yBZetGebYNioe+T/eoQEA1LrcFSx3ipa7pQHqO+GUrdm2LO/+EEZgg k04PgBfydYXGj3f0exf+OECkpQAe2sWbwqQ5PLD36vyoU53JMv3NqBoylxtAAZUSbPxo pLO7eVNR7HcO4Nl7ekQYDPUNilxNo2n3yhsmq5MOpbRSyzPoTnq+Od/XrStBaTUJWR66 SpOobhQ/nDOyDxyfHODFaxsQCZogE+7yFkF99i7jEWs2FLni2XbNbOYB4QO0eX+gDv49 jEIL8Bdh1WEget/nd7TT1yk+f1QVy/bM1orVXe1ELckI0yJnbYRAxzNEuvOChK4ai6DC ho1g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a1709026bc400b00153bfa55a89si22301268plt.116.2022.03.30.23.57.59; Wed, 30 Mar 2022 23:58:27 -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; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbiCaGjk (ORCPT + 99 others); Thu, 31 Mar 2022 02:39:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbiCaGjj (ORCPT ); Thu, 31 Mar 2022 02:39:39 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E204109A53; Wed, 30 Mar 2022 23:37:51 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4KTYWZ2KXYz1GDG6; Thu, 31 Mar 2022 14:37:30 +0800 (CST) Received: from [10.108.234.194] (10.108.234.194) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.21; Thu, 31 Mar 2022 14:37:48 +0800 Message-ID: <34889f32-7dd9-125e-2f7a-734faa395d20@huawei.com> Date: Thu, 31 Mar 2022 14:37:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Content-Language: en-US To: , , CC: , From: "wangjianjian (C)" Subject: [PATCH] ext4, doc: Fix incorrect h_reserved size Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.108.234.194] X-ClientProxiedBy: dggeme701-chm.china.huawei.com (10.1.199.97) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 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 ---  Documentation/filesystems/ext4/attributes.rst | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/ext4/attributes.rst 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       - Checksum of the extended attribute block.     * - 0x14       - \_\_u32 -     - h\_reserved[2] +     - h\_reserved[3]       - Zero.  The checksum is calculated against the FS UUID, the 64-bit block number -- 2.32.0