Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp352129rdg; Thu, 12 Oct 2023 07:31:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE55YtxNak8KO3iPYN0yZfi7Kot0ZOqWOI2NvHT6M9Uc5C4b+U1p7mMM+F7Yn2l+kiIC1d5 X-Received: by 2002:a05:6a20:a110:b0:161:3013:b499 with SMTP id q16-20020a056a20a11000b001613013b499mr29079364pzk.60.1697121112532; Thu, 12 Oct 2023 07:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697121112; cv=none; d=google.com; s=arc-20160816; b=nQ6yS/+7dWAbfJqFGl6QYfPqL7q30vCTBtBDvuMogjtHEsx8DesPM4TmN4B5o4l1Wv do2sWbZi1s16wfo+QHyGjxRpCuyPKCO2FZluR2lxpwv8wyqPKmNbjh2HGwV8AHnS6MW4 b07VuVPzpk7kAD5KI51Q4VHet4A4P5iSU7G/+IF7YIVdNWJ8De+q/i7oso5LJfvxr2e5 1BLc3hr81cQnsTKniLs88pDOx2xw+4ab9U2Bx0cgwVPpZACKxFh2SY05XSE3HnTOnRtJ hf9LXrIgRi6p5jeFiFYSNDyaIUO0BwdDR/hQNurEQdXs4jmbJA8fSnh+QMXN8TlKV9yd 5k3w== 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 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u9-20020a17090341c900b001bda1941a8esi2418645ple.582.2023.10.12.07.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; 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 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 4727B8032E65; Thu, 12 Oct 2023 07:31:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378887AbjJLOat (ORCPT + 99 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 ); 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?= 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 Cc: Wedson Almeida Filho , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:31:30 -0700 (PDT) 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 --- 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(+) 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 --- base-commit: 295d3c441226d004d1ed59c4fcf62d5dba18d9e1 change-id: 20231012-vfs-xattr_const-afd402507b6e Best regards, -- Thomas Weißschuh