Message ID | 20231012-vfs-xattr_const-v1-1-6c21e82d4d5e@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1273505vqb; Thu, 12 Oct 2023 07:31:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFixiT2p1DyCv/rGPkIxFuA22hmcXTXCRja62QJ/W+0045XfZcjpbIrJ5K/Uylpymq0TrGN X-Received: by 2002:a05:6358:e91c:b0:143:6813:bffa with SMTP id gk28-20020a056358e91c00b001436813bffamr19430638rwb.0.1697121093402; Thu, 12 Oct 2023 07:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697121093; cv=none; d=google.com; s=arc-20160816; b=H+1u7XjR6kmHWHB/kDde+3McWXS5qYf+46H3IqekWmqSdBJPhGBVnWx/e2FEu9p9dT zIGTchQVUIBtkDF0c5/Vss0IsDM1dzoJYtGfXUop8qd8CRDlzak5EOWtj5v7wHes9NfO gTMboctT8wQ+ht1lIbFWj31iN9hzd98MftSn6Mi4KeIsE9UYtwGiizVqYGlDxwiYFHgZ BuQ7/WKCBJt+XjSWfK15V/aYa2odKso/TcoEx80kWpbwLtpNed5bhF+sBq4hdHHfKBWt Ymxjaw3nuubAjv0seaXNgmr7jTSI+IypPj9maFnlF7cLFzgzBup3QU+zylu9D3sMU5f5 wOMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=uhT8LbnpyXc7Yd+TQ6MsezUrscTgoGqzWCdgRee4lCw=; fh=7TuBUGtidXcxVYMn53sk2m8aQ2a3PJlHEJcTG+UoAHE=; b=GWOZEs9x9l7p46iDx/G0pWcMa/n21Kberj6g7U9iDJidFXZuBT+WNBg7e4b7bAthxu vqIQsgSnhRa7S1rnOC6g1ueALMTjRnanqfioYIw8co5hNXYMWVyn3VWw4tXgwVvPmrP+ Ps0kICuYhyjF6PEtSB+EOOLt5bpTYYQu4ngWhmfYn18X07RRCITrdJIqaSO9Phfkbpkz UoM+NHcfVx/+KmGNjY5dJ5rfjSfVI5rQ7zQlZyd1HPcZjXMC3j8QHA6O5Amcc0UOM2rs 1gI9My96nnX/G+eBID35xDBPVZ4FIbxEEOJbvhXstTtcBBctpyjSsUvIlUP2aiSRTn9T RGdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=jUQ27btT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l190-20020a6388c7000000b0057c3aaec1c8si2448750pgd.52.2023.10.12.07.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=jUQ27btT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 35CD0832A21B; Thu, 12 Oct 2023 07:31:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343929AbjJLOat (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Thu, 12 Oct 2023 10:30:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347301AbjJLOao (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Oct 2023 10:30:44 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C83B8; Thu, 12 Oct 2023 07:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1697121039; bh=o1kg+AGvKdB61U4poXd0za0hN5gEmhGNi+P9Mbfn6eg=; h=From:Date:Subject:To:Cc:From; b=jUQ27btT8YKJCuioIZSEDXbZBsXqxhwNXLkT4ykSVnwwoAF3vdbcJMc5QV3r7x0z2 YGVeRBw12o2yq+bEyH8DM+KSibg8MQ8FSRK3TOPTpf5G2Kf8uHL1WCQVtxkY71Fnom IbnMMzuvb2KSdH1IftvhoBtNf/RJcSlXMyFwZJl0= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> Date: Thu, 12 Oct 2023 16:30:38 +0200 Subject: [PATCH] const_structs.checkpatch: add xattr_handler MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231012-vfs-xattr_const-v1-1-6c21e82d4d5e@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAA0DKGUC/x3MTQqAIBBA4avIrBPU/qCrRITZWLPRcCSE6O5Jy 2/x3gOMiZBhEg8kvIkphgrdCHCnDQdK2qvBKNNqpY28Pctic06ri4GztH7vlOnVuA0ItboSeir /cV7e9wNhjrUJYQAAAA== To: Christian Brauner <brauner@kernel.org> Cc: Wedson Almeida Filho <walmeida@microsoft.com>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thom?= =?utf-8?q?as_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697121038; l=904; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=o1kg+AGvKdB61U4poXd0za0hN5gEmhGNi+P9Mbfn6eg=; b=AhaVBR9UW982Byqh7WkLNRE4oNV1ZYqKwiBMQtMwWsvezWr6GcNPcEsuQsAsIpdy9cCs2/lif zacngGK2pz4ApJDG3AYjtDUo2sJUQTMHJlAMhfnNGIwsPnxHYc21u5C X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:31:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779560447585569598 X-GMAIL-MSGID: 1779560447585569598 |
Series |
const_structs.checkpatch: add xattr_handler
|
|
Commit Message
Thomas Weißschuh
Oct. 12, 2023, 2:30 p.m. UTC
Now that the vfs can handle "const struct xattr_handler" make sure that
new usages of the struct already enter the tree as const.
Link: https://lore.kernel.org/lkml/20230930050033.41174-1-wedsonaf@gmail.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
This should be applied on top of the vfs.xattr branch of the vfs tree.
---
scripts/const_structs.checkpatch | 1 +
1 file changed, 1 insertion(+)
---
base-commit: 295d3c441226d004d1ed59c4fcf62d5dba18d9e1
change-id: 20231012-vfs-xattr_const-afd402507b6e
Best regards,
Comments
On Thu, 12 Oct 2023 16:30:38 +0200, Thomas Weißschuh wrote: > Now that the vfs can handle "const struct xattr_handler" make sure that > new usages of the struct already enter the tree as const. > > Applied to the vfs.xattr branch of the vfs/vfs.git tree. Patches in the vfs.xattr branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.xattr [1/1] const_structs.checkpatch: add xattr_handler https://git.kernel.org/vfs/vfs/c/a640d888953c
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch index dc39d938ea77..188412aa2757 100644 --- a/scripts/const_structs.checkpatch +++ b/scripts/const_structs.checkpatch @@ -94,3 +94,4 @@ vm_operations_struct wacom_features watchdog_ops wd_ops +xattr_handler