Commit 4545cfb0 authored by Casey Schaufler's avatar Casey Schaufler Committed by Greg Kroah-Hartman
Browse files

Smack: Mark inode instant in smack_task_to_inode



[ Upstream commit 7b4e8843 ]

Smack: Mark inode instant in smack_task_to_inode

/proc clean-up in commit 1bbc5513
resulted in smack_task_to_inode() being called before smack_d_instantiate.
This resulted in the smk_inode value being ignored, even while present
for files in /proc/self. Marking the inode as instant here fixes that.

Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8e7a1bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment