author: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-21 14:19:30 +0100
committer: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-24 14:27:17 +0100
commit: 0d56a4518d5eaf595a24ab2202e171330bb2ed72
parent: 71bc356f93a1c589fad13f7487258f89c417976e
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 728405d15a05..226b5b1dc1fa 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -2050,7 +2050,7 @@ static int gfs2_getattr(const struct path *path, struct kstat *stat,
STATX_ATTR_IMMUTABLE |
STATX_ATTR_NODUMP);
- generic_fillattr(inode, stat);
+ generic_fillattr(&init_user_ns, inode, stat);
if (gfs2_holder_initialized(&gh))
gfs2_glock_dq_uninit(&gh);