From 055e9d5efc6f02f58ae96af8ab5d72a5436e860c Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 6 Jul 2025 21:54:20 -0400 Subject: [PATCH] ovl_lower_dir(): constify path argument Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- fs/overlayfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index df85a76597e91..e3d0e86bb7c46 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; -- 2.47.3