diff options
Diffstat (limited to 'fs/file_table.c')
| -rw-r--r-- | fs/file_table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index fa7849fae134..1d3de78e6bc9 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/eventpoll.h> | 16 | #include <linux/eventpoll.h> |
| 17 | #include <linux/mount.h> | 17 | #include <linux/mount.h> |
| 18 | #include <linux/cdev.h> | 18 | #include <linux/cdev.h> |
| 19 | #include <linux/fsnotify.h> | ||
| 19 | 20 | ||
| 20 | /* sysctl tunables... */ | 21 | /* sysctl tunables... */ |
| 21 | struct files_stat_struct files_stat = { | 22 | struct files_stat_struct files_stat = { |
| @@ -126,6 +127,8 @@ void fastcall __fput(struct file *file) | |||
| 126 | struct inode *inode = dentry->d_inode; | 127 | struct inode *inode = dentry->d_inode; |
| 127 | 128 | ||
| 128 | might_sleep(); | 129 | might_sleep(); |
| 130 | |||
| 131 | fsnotify_close(file); | ||
| 129 | /* | 132 | /* |
| 130 | * The function eventpoll_release() should be the first called | 133 | * The function eventpoll_release() should be the first called |
| 131 | * in the file cleanup chain. | 134 | * in the file cleanup chain. |
