aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c
index edae56b78771..687c6fd14bb6 100644
--- a/security/security.c
+++ b/security/security.c
@@ -673,8 +673,6 @@ int security_file_alloc(struct file *file)
673void security_file_free(struct file *file) 673void security_file_free(struct file *file)
674{ 674{
675 security_ops->file_free_security(file); 675 security_ops->file_free_security(file);
676 if (file->f_dentry)
677 ima_file_free(file);
678} 676}
679 677
680int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 678int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)