Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180332
b: refs/heads/master
c: 89068c5
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Feb 7, 2010
1 parent aceed37 commit 10132ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1e93d0052d9a6b3d0b382eedceb18b519d603baf
refs/heads/master: 89068c576bf324ef6fbd50dfc745148f7def202c
1 change: 1 addition & 0 deletions trunk/fs/file_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ void __fput(struct file *file)
if (file->f_op && file->f_op->release)
file->f_op->release(inode, file);
security_file_free(file);
ima_file_free(file);
if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL))
cdev_put(inode->i_cdev);
fops_put(file->f_op);
Expand Down
2 changes: 0 additions & 2 deletions trunk/security/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 10132ac

Please sign in to comment.