summary refs log tree commit diff
path: root/security/smack
diff options
context:
space:
mode:
authorManinder Singh <maninder1.s@samsung.com>2020-04-09 18:09:58 +0530
committerCasey Schaufler <casey@schaufler-ca.com>2020-05-06 14:46:26 -0700
commit092c94aed3e1bb0946fc7ba176cc3b4376d9910f (patch)
tree2a316a9842721ca8cf5d5051d937bf1e029dc445 /security/smack
parent00720f0e7f288d29681d265c23b22bb0f0f4e5b4 (diff)
downloadlinux-092c94aed3e1bb0946fc7ba176cc3b4376d9910f.tar.gz
smack: remove redundant structure variable from header.
commit afb1cbe37440 ("LSM: Infrastructure management
of the inode security") removed usage of smk_rcu,
thus removing it from structure.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack')
-rw-r--r--security/smack/smack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h
index 335d2411abe4..09ed7f343be4 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -111,7 +111,6 @@ struct inode_smack {
 	struct smack_known	*smk_mmap;	/* label of the mmap domain */
 	struct mutex		smk_lock;	/* initialization lock */
 	int			smk_flags;	/* smack inode flags */
-	struct rcu_head         smk_rcu;	/* for freeing inode_smack */
 };
 
 struct task_smack {