[PATCH 1/1] smack: remove redundant structure variable from header.

Casey Schaufler casey at schaufler-ca.com
Thu Apr 9 21:00:13 UTC 2020


On 4/9/2020 5:39 AM, Maninder Singh wrote:
> 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 at samsung.com>
> Signed-off-by: Vaneet Narang <v.narang at samsung.com>

Thank you. I will take this.

> ---
>  security/smack/smack.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/security/smack/smack.h b/security/smack/smack.h
> index 62529f3..5ebd0bb 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 {



More information about the Linux-security-module-archive mailing list