From: Al Viro Date: Sun, 6 Jul 2025 20:56:47 +0000 (-0400) Subject: constify path argument of vfs_statx_path() X-Git-Tag: v6.18-rc1~108^2~1^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd22857510e1981a366992faabc5454d9d2b1357;p=thirdparty%2Fkernel%2Fstable.git constify path argument of vfs_statx_path() Reviewed-by: Jan Kara Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- diff --git a/fs/stat.c b/fs/stat.c index f95c1dc3eaa4b..6c79661e1b961 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -293,7 +293,7 @@ static int statx_lookup_flags(int flags) return lookup_flags; } -static int vfs_statx_path(struct path *path, int flags, struct kstat *stat, +static int vfs_statx_path(const struct path *path, int flags, struct kstat *stat, u32 request_mask) { int error = vfs_getattr(path, stat, request_mask, flags);