Skip to content

Commit 5f587dd

Browse files
author
Al Viro
committed
ovl_is_real_file: constify realpath argument
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ee17384 commit 5f587dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/overlayfs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static bool ovl_is_real_file(const struct file *realfile,
120120
}
121121

122122
static struct file *ovl_real_file_path(const struct file *file,
123-
struct path *realpath)
123+
const struct path *realpath)
124124
{
125125
struct ovl_file *of = file->private_data;
126126
struct file *realfile = of->realfile;

0 commit comments

Comments
 (0)