Skip to content

Commit ee17384

Browse files
author
Al Viro
committed
ovl_sync_file(): constify path argument
Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 055e9d5 commit ee17384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/overlayfs/copy_up.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static int ovl_verify_area(loff_t pos, loff_t pos2, loff_t len, loff_t totlen)
242242
return 0;
243243
}
244244

245-
static int ovl_sync_file(struct path *path)
245+
static int ovl_sync_file(const struct path *path)
246246
{
247247
struct file *new_file;
248248
int err;

0 commit comments

Comments
 (0)