aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-07-03 09:20:22 +0200
committerIngo Molnar <mingo@kernel.org>2018-07-03 09:20:22 +0200
commit4520843dfa34417eb1e2061f60d2345d9ca614e1 (patch)
tree7b983b8cf20c6154cf897000610c5b7c754e26d9 /security/smack/smack_lsm.c
parentsched/fair: Remove stale tg_unthrottle_up() comments (diff)
parentkthread, sched/core: Fix kthread_parkme() (again...) (diff)
downloadlinux-dev-4520843dfa34417eb1e2061f60d2345d9ca614e1.tar.xz
linux-dev-4520843dfa34417eb1e2061f60d2345d9ca614e1.zip
Merge branch 'sched/urgent' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r--security/smack/smack_lsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 7ad226018f51..19de675d4504 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -2296,6 +2296,7 @@ static void smack_task_to_inode(struct task_struct *p, struct inode *inode)
struct smack_known *skp = smk_of_task_struct(p);
isp->smk_inode = skp;
+ isp->smk_flags |= SMK_INODE_INSTANT;
}
/*