diff options
-rw-r--r-- | arch/x86_64/ia32/sys_ia32.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86_64/ia32/sys_ia32.c index 68a9ab06ee7c..70caf89d4c21 100644 --- a/arch/x86_64/ia32/sys_ia32.c +++ b/arch/x86_64/ia32/sys_ia32.c | |||
@@ -61,6 +61,7 @@ | |||
61 | #include <linux/ptrace.h> | 61 | #include <linux/ptrace.h> |
62 | #include <linux/highuid.h> | 62 | #include <linux/highuid.h> |
63 | #include <linux/vmalloc.h> | 63 | #include <linux/vmalloc.h> |
64 | #include <linux/fsnotify.> | ||
64 | #include <asm/mman.h> | 65 | #include <asm/mman.h> |
65 | #include <asm/types.h> | 66 | #include <asm/types.h> |
66 | #include <asm/uaccess.h> | 67 | #include <asm/uaccess.h> |
@@ -984,8 +985,10 @@ asmlinkage long sys32_open(const char __user * filename, int flags, int mode) | |||
984 | if (IS_ERR(f)) { | 985 | if (IS_ERR(f)) { |
985 | put_unused_fd(fd); | 986 | put_unused_fd(fd); |
986 | fd = error; | 987 | fd = error; |
987 | } else | 988 | } else { |
989 | fsnotify_open(f->f_dentry); | ||
988 | fd_install(fd, f); | 990 | fd_install(fd, f); |
991 | } | ||
989 | } | 992 | } |
990 | putname(tmp); | 993 | putname(tmp); |
991 | } | 994 | } |