SELinux: do not clear f_op when removing entries
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 21 Nov 2007 14:01:36 +0000 (09:01 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 5 Dec 2007 13:23:46 +0000 (00:23 +1100)
commit0955dc03aedfb6a5565445b3f2176255b784cc6a
tree34ec01676c33f5627b8a5c02ca68b8757da3308c
parente3c0ac04f980750a368f7cd5f1b8d1d2cdc1f735
SELinux: do not clear f_op when removing entries

Do not clear f_op when removing entries since it isn't safe to do.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/selinuxfs.c