diff options
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 361d76be8295..17a55b81be2d 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/fsnotify.h> | 21 | #include <linux/fsnotify.h> |
22 | #include <linux/sysctl.h> | 22 | #include <linux/sysctl.h> |
23 | #include <linux/percpu_counter.h> | 23 | #include <linux/percpu_counter.h> |
24 | #include <linux/ima.h> | ||
24 | 25 | ||
25 | #include <asm/atomic.h> | 26 | #include <asm/atomic.h> |
26 | 27 | ||
@@ -190,6 +191,7 @@ struct file *alloc_file(struct path *path, fmode_t mode, | |||
190 | error = mnt_clone_write(path->mnt); | 191 | error = mnt_clone_write(path->mnt); |
191 | WARN_ON(error); | 192 | WARN_ON(error); |
192 | } | 193 | } |
194 | ima_counts_get(file); | ||
193 | return file; | 195 | return file; |
194 | } | 196 | } |
195 | 197 | ||