aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/file_table.c')
-rw-r--r--fs/file_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index 0fbcacc3ea75..55895ccc08c6 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -13,6 +13,7 @@
13#include <linux/module.h> 13#include <linux/module.h>
14#include <linux/fs.h> 14#include <linux/fs.h>
15#include <linux/security.h> 15#include <linux/security.h>
16#include <linux/ima.h>
16#include <linux/eventpoll.h> 17#include <linux/eventpoll.h>
17#include <linux/rcupdate.h> 18#include <linux/rcupdate.h>
18#include <linux/mount.h> 19#include <linux/mount.h>
@@ -276,6 +277,7 @@ void __fput(struct file *file)
276 if (file->f_op && file->f_op->release) 277 if (file->f_op && file->f_op->release)
277 file->f_op->release(inode, file); 278 file->f_op->release(inode, file);
278 security_file_free(file); 279 security_file_free(file);
280 ima_file_free(file);
279 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL)) 281 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL))
280 cdev_put(inode->i_cdev); 282 cdev_put(inode->i_cdev);
281 fops_put(file->f_op); 283 fops_put(file->f_op);