fsnotify: add fsnotify_add_inode_mark() wrappers
[sfrench/cifs-2.6.git] / fs / notify / dnotify / dnotify.c
index b4e685b63f338413850b27ecc58dbd2b88e03586..e2bea2ac5dfb2809ae9460edce3a58916456c9ef 100644 (file)
@@ -319,7 +319,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
                dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
                spin_lock(&fsn_mark->lock);
        } else {
-               error = fsnotify_add_mark_locked(new_fsn_mark, inode, NULL, 0);
+               error = fsnotify_add_inode_mark_locked(new_fsn_mark, inode, 0);
                if (error) {
                        mutex_unlock(&dnotify_group->mark_mutex);
                        goto out_err;