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 /fs | |
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 'fs')
-rw-r--r-- | fs/file_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 69652c5bd5f0..b98404b54383 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -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); |