aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-11-24 12:05:51 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2015-11-24 12:05:51 +1100
commitf59c35a8aa68fe639a9bef75557e2c281f869ed5 (patch)
treec02dd7e732185c74c54131131dddf301aec3fca5 /fs
parent76fb3ae8e9159100c12f9d90cb887f920ae4b87c (diff)
parent92f190d2a1ec647e7b8de088506304f6480cb1ca (diff)
Merge remote-tracking branch 'selinux/next'
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/glops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index f348cfb6b69a..437fd73e381e 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -13,6 +13,7 @@
#include <linux/gfs2_ondisk.h>
#include <linux/bio.h>
#include <linux/posix_acl.h>
+#include <linux/security.h>
#include "gfs2.h"
#include "incore.h"
@@ -262,6 +263,7 @@ static void inode_go_inval(struct gfs2_glock *gl, int flags)
if (ip) {
set_bit(GIF_INVALID, &ip->i_flags);
forget_all_cached_acls(&ip->i_inode);
+ security_inode_invalidate_secctx(&ip->i_inode);
gfs2_dir_hash_inval(ip);
}
}