Skip to content

Commit 5f587dd

Browse files
author
Al Viro
committed
ovl_is_real_file: constify realpath argument
Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent ee17384 commit 5f587dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)