diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/falloc.h> | 29 | #include <linux/falloc.h> |
30 | #include <linux/fs_struct.h> | 30 | #include <linux/fs_struct.h> |
31 | #include <linux/ima.h> | 31 | #include <linux/ima.h> |
32 | #include <linux/dnotify.h> | ||
32 | 33 | ||
33 | #include "internal.h" | 34 | #include "internal.h" |
34 | 35 | ||
@@ -887,7 +888,7 @@ long do_sys_open(int dfd, const char __user *filename, int flags, int mode) | |||
887 | put_unused_fd(fd); | 888 | put_unused_fd(fd); |
888 | fd = PTR_ERR(f); | 889 | fd = PTR_ERR(f); |
889 | } else { | 890 | } else { |
890 | fsnotify_open(f->f_path.dentry); | 891 | fsnotify_open(f); |
891 | fd_install(fd, f); | 892 | fd_install(fd, f); |
892 | } | 893 | } |
893 | } | 894 | } |