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:
Al Viro
2025-09-15 21:17:09 -04:00
parent 055e9d5efc
commit ee17384ace
+1 -1
View File
@@ -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;