X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=security%2Fsecurity.c;fp=security%2Fsecurity.c;h=122b748d0f4c5cbb11b04fd11a954429136586c2;hb=89068c576bf324ef6fbd50dfc745148f7def202c;hp=24e060be9fa54b64994b6e5fe65674b42a90928c;hpb=1e93d0052d9a6b3d0b382eedceb18b519d603baf;p=safe%2Fjmp%2Flinux-2.6 diff --git a/security/security.c b/security/security.c index 24e060b..122b748 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)