mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
ovl_sync_file(): constify path argument
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
055e9d5efc
commit
ee17384ace
|
|
@ -242,7 +242,7 @@ static int ovl_verify_area(loff_t pos, loff_t pos2, loff_t len, loff_t totlen)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int ovl_sync_file(struct path *path)
|
||||
static int ovl_sync_file(const struct path *path)
|
||||
{
|
||||
struct file *new_file;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user