aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify')
-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 c172a7a17b17..dc32ed8323ba 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -567,7 +567,7 @@ static struct fsnotify_group *inotify_new_group(struct user_struct *user, unsign
567 567
568 spin_lock_init(&group->inotify_data.idr_lock); 568 spin_lock_init(&group->inotify_data.idr_lock);
569 idr_init(&group->inotify_data.idr); 569 idr_init(&group->inotify_data.idr);
570 group->inotify_data.last_wd = 0; 570 group->inotify_data.last_wd = 1;
571 group->inotify_data.user = user; 571 group->inotify_data.user = user;
572 group->inotify_data.fa = NULL; 572 group->inotify_data.fa = NULL;
573 573