aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/inotify')
-rw-r--r--fs/notify/inotify/inotify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index 653c507b1bb3..f22a04005db2 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -651,7 +651,7 @@ static int inotify_new_watch(struct fsnotify_group *group,
651 goto out_err; 651 goto out_err;
652 652
653 /* we are on the idr, now get on the inode */ 653 /* we are on the idr, now get on the inode */
654 ret = fsnotify_add_mark(&tmp_ientry->fsn_entry, group, inode); 654 ret = fsnotify_add_mark(&tmp_ientry->fsn_entry, group, inode, 0);
655 if (ret) { 655 if (ret) {
656 /* we failed to get on the inode, get off the idr */ 656 /* we failed to get on the inode, get off the idr */
657 inotify_remove_from_idr(group, tmp_ientry); 657 inotify_remove_from_idr(group, tmp_ientry);