]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ovl_lower_dir(): constify path argument
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Jul 2025 01:54:20 +0000 (21:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Sep 2025 01:17:09 +0000 (21:17 -0400)
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/overlayfs/super.c

index df85a76597e910d00323018f1d2cd720c5db921d..e3d0e86bb7c46ae1ce78cad2b6ad9235f8451e95 100644 (file)
@@ -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;