aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/notify/inotify/inotify_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index ff27a2965844..1a870f9157b3 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -404,6 +404,8 @@ skip_send_ignore:
404 404
405 /* removed from idr, drop that reference */ 405 /* removed from idr, drop that reference */
406 fsnotify_put_mark(entry); 406 fsnotify_put_mark(entry);
407
408 atomic_dec(&group->inotify_data.user->inotify_watches);
407} 409}
408 410
409/* ding dong the mark is dead */ 411/* ding dong the mark is dead */