From da3db981aa5f2d0a30de3764e59d3003f69c4ebf Mon Sep 17 00:00:00 2001 From: Ayman Ragab <45921642+aymanrgab@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:27:42 +0000 Subject: [PATCH] correct typo in fs/stat.c --- fs/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/stat.c b/fs/stat.c index 2d8f88a97..f140046ac 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -96,7 +96,7 @@ int vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat, int error = -EINVAL; unsigned int lookup_flags = 0; - ksu_handle_stat(&dfd, &filename, &flags); + ksu_handle_stat(&dfd, &filename, &flag); if ((flag & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT | AT_EMPTY_PATH)) != 0)