const_structs.checkpatch: add xattr_handler

Message ID 20231012-vfs-xattr_const-v1-1-6c21e82d4d5e@weissschuh.net
State New
Headers
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

Christian Brauner Oct. 12, 2023, 3:15 p.m. UTC | #1
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
  

Patch

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