[PATCH 3/6] afs_edit_dir_{add,remove}(): constify qstr argument
Christian Brauner
brauner at kernel.org
Mon Sep 15 12:45:46 UTC 2025
On Thu, Sep 11, 2025 at 06:05:31AM +0100, Al Viro wrote:
> Nothing outside of fs/dcache.c has any business modifying
> dentry names; passing &dentry->d_name as an argument should
> have that argument declared as a const pointer.
>
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
> ---
Reviewed-by: Christian Brauner <brauner at kernel.org>
More information about the Linux-security-module-archive
mailing list