diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/file.h> | 10 | #include <linux/file.h> |
11 | #include <linux/smp_lock.h> | 11 | #include <linux/smp_lock.h> |
12 | #include <linux/quotaops.h> | 12 | #include <linux/quotaops.h> |
13 | #include <linux/dnotify.h> | 13 | #include <linux/fsnotify.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <linux/tty.h> | 16 | #include <linux/tty.h> |
@@ -951,6 +951,7 @@ asmlinkage long sys_open(const char __user * filename, int flags, int mode) | |||
951 | put_unused_fd(fd); | 951 | put_unused_fd(fd); |
952 | fd = PTR_ERR(f); | 952 | fd = PTR_ERR(f); |
953 | } else { | 953 | } else { |
954 | fsnotify_open(f->f_dentry); | ||
954 | fd_install(fd, f); | 955 | fd_install(fd, f); |
955 | } | 956 | } |
956 | } | 957 | } |