Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3612353ioa; Tue, 26 Apr 2022 06:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaKmj35BCunPV6C2APc73cwlqpLckPbcIqhmMzdG+ifIFt1NKjvj7WDPkQSPWqdnzSYqHa X-Received: by 2002:a17:902:8497:b0:154:9282:bc01 with SMTP id c23-20020a170902849700b001549282bc01mr23957521plo.33.1650981272453; Tue, 26 Apr 2022 06:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650981272; cv=none; d=google.com; s=arc-20160816; b=HyfXibFMsifKmoIKB1qIZDNjBQsQUPPSLn3HUMdzSnZ4dz56kGr5XTzBCxuxMHc5MY qtSGZPnODgtfiyZykFd1vBGyfxT9vk8U0RmrKZNVoiwV0cQ1HDtzasVQ0YmUiB4AfihQ 4vTLjsee1dmG5xslwcJwOay6mZNzzQWgM0WnPboUPMPH7Xjm+n9Hjsg7V4VKydCWq7L4 riyfMlULamdY2jpi6BihJlsITtejZviOZt7Nr5EIq4Y/4Rk+pNAGgs27MmZFZ5Wl3xNX VCxcEJqbWEUefsoKYKAuIcNrWu/Qf4hPet2pMcWOfgqppVM7qGFTrZig1SiZGC5Oe0Wl caCw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NzqZOFaaEpKgSHQwzC6UI/IReNvvS8H9sVafxZ++FQU=; b=usmHto6ErWA7qU5kdtShkvq/UxjBMp2CqyepD9H0wSCqzGmjBmc9DZjEwOmVLIKA0l I8Sc+gi7cyfaU0M69hVsN0pny2RgNodxm4bXJVcdOEX7uPi+MxyQzR4TPJckSsc0qaat OkkwsdK8A9e7gDa3kQ/Cg4OGVIdAIyRxgNa99y64dIbseyyJDRcfRxsOgRf7UzNABZnK 0hASy+nMD5hSVgC3IZbFrsMFBvF0Kho5iFLbM99rwuxcG++X4xqp6z+s/Yej5GhtgqoL STl3UrzN8YWTLd2hs0c8EL98slfB1PsUvikA7gEuoe0eIwswsn4ka0a94gHeOyTtuT4f 1nWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bKtLkeh2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fr6-20020a17090ae2c600b001bf756ef81csi2223021pjb.139.2022.04.26.06.54.15; Tue, 26 Apr 2022 06:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=bKtLkeh2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237681AbiDZJVA (ORCPT + 99 others); Tue, 26 Apr 2022 05:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239353AbiDZI5E (ORCPT ); Tue, 26 Apr 2022 04:57:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 040FC8302A; Tue, 26 Apr 2022 01:41:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ADEE4B81CF2; Tue, 26 Apr 2022 08:41:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5446C385A0; Tue, 26 Apr 2022 08:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650962501; bh=uKEYDWt3OoW+HTLnKcurD0UcjrAlNyV6usIFyO9hi1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bKtLkeh2Fpc072TkaCKomioVjdSpvtAJTmhoLyWLfTE4pmg6X2HWllCF3uJaHFqgc OBPMuNBc4oTrGy8Qtd1UTcStQHKEP64+LyAvSxjDqxDG33ChM+965QF33vuYvpqNqx ccSCKjSdjvGr7reM2h3i0R6/hx45b/z1z1acD3r0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wang Jianjian , Theodore Tso , stable@kernel.org Subject: [PATCH 5.15 117/124] ext4, doc: fix incorrect h_reserved size Date: Tue, 26 Apr 2022 10:21:58 +0200 Message-Id: <20220426081750.616408406@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220426081747.286685339@linuxfoundation.org> References: <20220426081747.286685339@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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-kernel@vger.kernel.org From: wangjianjian (C) commit 7102ffe4c166ca0f5e35137e9f9de83768c2d27d upstream. 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 Link: https://lore.kernel.org/r/92fcc3a6-7d77-8c09-4126-377fcb4c46a5@huawei.com Signed-off-by: Theodore Ts'o Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman --- Documentation/filesystems/ext4/attributes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Documentation/filesystems/ext4/attributes.rst +++ b/Documentation/filesystems/ext4/attributes.rst @@ -76,7 +76,7 @@ The beginning of an extended attribute b - 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