smack: remove redundant structure variable from header.
authorManinder Singh <maninder1.s@samsung.com>
Thu, 9 Apr 2020 12:39:58 +0000 (18:09 +0530)
committerCasey Schaufler <casey@schaufler-ca.com>
Wed, 6 May 2020 21:46:26 +0000 (14:46 -0700)
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>
security/smack/smack.h

index 335d241..09ed7f3 100644 (file)
@@ -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 {