fsnotify: move fsnotify_open() hook into do_dentry_open()
[linux-2.6-microblaze.git] / fs / fhandle.c
index fd0d6a3..6ea8d35 100644 (file)
@@ -242,7 +242,6 @@ static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
                retval =  PTR_ERR(file);
        } else {
                retval = fd;
-               fsnotify_open(file);
                fd_install(fd, file);
        }
        path_put(&path);