summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-07-06 21:54:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-15 21:17:09 -0400
commit055e9d5efc6f02f58ae96af8ab5d72a5436e860c (patch)
treec13d98e1eb7af14602b03095af3c27606d8a0e72
parent465309d63f6d98c58d545b2e96130432020a6c9e (diff)
ovl_lower_dir(): constify path argument
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/overlayfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index df85a76597e9..e3d0e86bb7c4 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -394,7 +394,7 @@ static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs,
return err;
}
-static int ovl_lower_dir(const char *name, struct path *path,
+static int ovl_lower_dir(const char *name, const struct path *path,
struct ovl_fs *ofs, int *stack_depth)
{
int fh_type;