author: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-21 14:19:45 +0100
committer: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-24 14:27:20 +0100
commit: a2d2329e30e224ea68d575d2525b866df9805ea0
parent: 3cee6079f62f4d3a37d9dda2e0851677e08028ff
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/attr.c b/fs/attr.c
index 41abd0d973d8..87ef39db1c34 100644
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -401,7 +401,7 @@ int notify_change(struct user_namespace *mnt_userns, struct dentry *dentry,
if (!error) {
fsnotify_change(dentry, ia_valid);
- ima_inode_post_setattr(dentry);
+ ima_inode_post_setattr(mnt_userns, dentry);
evm_inode_post_setattr(dentry, ia_valid);
}