diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-07 09:07:29 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-07 09:07:29 +0100 |
commit | 89068c576bf324ef6fbd50dfc745148f7def202c (patch) | |
tree | 6c19f0e1fa2e0bdd732fb91924a9e9c3efb2784b /security | |
parent | ima: rename PATH_CHECK to FILE_CHECK (diff) | |
download | linux-89068c576bf324ef6fbd50dfc745148f7def202c.tar.xz linux-89068c576bf324ef6fbd50dfc745148f7def202c.zip |
Take ima_file_free() to proper place.
Hooks: Just Say No.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
-rw-r--r-- | security/security.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index 24e060be9fa5..122b748d0f4c 100644 --- a/security/security.c +++ b/security/security.c @@ -666,8 +666,6 @@ int security_file_alloc(struct file *file) void security_file_free(struct file *file) { security_ops->file_free_security(file); - if (file->f_dentry) - ima_file_free(file); } int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) |