2023-10-12 14:31:52

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH] const_structs.checkpatch: add xattr_handler

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/[email protected]/
Signed-off-by: Thomas Weißschuh <[email protected]>
---
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 <[email protected]>


2023-10-12 15:15:30

by Christian Brauner

[permalink] [raw]
Subject: Re: [PATCH] const_structs.checkpatch: add xattr_handler

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