diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-06 17:04:02 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:26:43 -0400 |
| commit | 08404199f3f232828dcd6614e34a0c154cddb13d (patch) | |
| tree | 6bd618fef7c41a889ff4ce9d901cfdf734e53da7 /fs/namespace.c | |
| parent | 8be87700c9801559893d75ed6c8ae6685db60f1d (diff) | |
do_mount_setattr(): constify path argument
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 10949806ad7a..5d5482a82b4d 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -4859,7 +4859,7 @@ static void mount_setattr_commit(struct mount_kattr *kattr, struct mount *mnt) touch_mnt_namespace(mnt->mnt_ns); } -static int do_mount_setattr(struct path *path, struct mount_kattr *kattr) +static int do_mount_setattr(const struct path *path, struct mount_kattr *kattr) { struct mount *mnt = real_mount(path->mnt); int err = 0; |