diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-24 14:06:07 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:26:44 -0400 |
commit | 27e4b785596602cebe9acd0fd2d4fb4f5f9a3e4d (patch) | |
tree | 7152d2fe90ef0c14c11249eea7f5c78eea515948 /fs/namespace.c | |
parent | 44b58cdaf99264a99e9f07e90b944ecdd8081c2a (diff) |
mnt_warn_timestamp_expiry(): constify struct 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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index c1c906cfcb94..ebd1e6c23695 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3224,7 +3224,8 @@ static void set_mount_attributes(struct mount *mnt, unsigned int mnt_flags) touch_mnt_namespace(mnt->mnt_ns); } -static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt) +static void mnt_warn_timestamp_expiry(const struct path *mountpoint, + struct vfsmount *mnt) { struct super_block *sb = mnt->mnt_sb; |