[PATCH] const_structs.checkpatch: add xattr_handler

From: Thomas Weißschuh
Date: Thu Oct 12 2023 - 10:30:52 EST


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@xxxxxxxxx/
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
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 <linux@xxxxxxxxxxxxxx>