diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-06 21:55:21 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:17:09 -0400 |
| commit | ee17384ace3ca663b3d7c7c868d3355f2618ff6c (patch) | |
| tree | d5178e2196a1fd55c74a2c7de27f87499b612fb7 | |
| parent | 055e9d5efc6f02f58ae96af8ab5d72a5436e860c (diff) | |
ovl_sync_file(): constify path argument
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/overlayfs/copy_up.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index 27396fe63f6d..59630b8d50b6 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs/overlayfs/copy_up.c @@ -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; |
