From dd22857510e1981a366992faabc5454d9d2b1357 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 6 Jul 2025 16:56:47 -0400 Subject: [PATCH] constify path argument of vfs_statx_path() Reviewed-by: Jan Kara Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- fs/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3