smack: fix cache of access labels
authorJosé Bollo <jobol@nonadev.net>
Tue, 12 Jan 2016 20:23:40 +0000 (21:23 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 16 Feb 2016 17:56:35 +0000 (09:56 -0800)
commit8012495e177bbf67eba8915e266a6f897bedbd53
treee4bacef53ca7675d7d5a567d43e3806ef65fd064
parent491a0b08d38e7f0961a1850d43d0dea02f918d66
smack: fix cache of access labels

Before this commit, removing the access property of
a file, aka, the extended attribute security.SMACK64
was not effictive until the cache had been cleaned.

This patch fixes that problem.

Signed-off-by: José Bollo <jobol@nonadev.net>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c