]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ovl_is_real_file: constify realpath argument
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Sep 2025 04:58:00 +0000 (00:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Sep 2025 01:17:10 +0000 (21:17 -0400)
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/overlayfs/file.c

index f5b8877d5fe275830cd96db657de75187a2a88ae..fc52c796061dc8bfe620abb6df6e7f77c0693442 100644 (file)
@@ -120,7 +120,7 @@ static bool ovl_is_real_file(const struct file *realfile,
 }
 
 static struct file *ovl_real_file_path(const struct file *file,
-                                      struct path *realpath)
+                                      const struct path *realpath)
 {
        struct ovl_file *of = file->private_data;
        struct file *realfile = of->realfile;