aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/dnotify/dnotify.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-07-28 10:18:39 -0400
committerEric Paris <eparis@redhat.com>2010-07-28 10:18:54 -0400
commit43709a288ed03aa0e2979ab63dd089b3889645c4 (patch)
tree71717ebf944c099af5ab8ea339889665d4b9ef67 /fs/notify/dnotify/dnotify.c
parent03930979afa63e079e9aefd4d3dd429240711027 (diff)
fsnotify: remove group->mask
group->mask is now useless. It was originally a shortcut for fsnotify to save on performance. These checks are now redundant, so we remove them. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/dnotify/dnotify.c')
-rw-r--r--fs/notify/dnotify/dnotify.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c
index c3dc15879a52..e92b2c87ae94 100644
--- a/fs/notify/dnotify/dnotify.c
+++ b/fs/notify/dnotify/dnotify.c
@@ -199,8 +199,6 @@ void dnotify_flush(struct file *filp, fl_owner_t id)
199 if (dn_mark->dn == NULL) 199 if (dn_mark->dn == NULL)
200 fsnotify_destroy_mark(fsn_mark); 200 fsnotify_destroy_mark(fsn_mark);
201 201
202 fsnotify_recalc_group_mask(dnotify_group);
203
204 mutex_unlock(&dnotify_mark_mutex); 202 mutex_unlock(&dnotify_mark_mutex);
205 203
206 fsnotify_put_mark(fsn_mark); 204 fsnotify_put_mark(fsn_mark);
@@ -385,8 +383,6 @@ out:
385 if (destroy) 383 if (destroy)
386 fsnotify_destroy_mark(fsn_mark); 384 fsnotify_destroy_mark(fsn_mark);
387 385
388 fsnotify_recalc_group_mask(dnotify_group);
389
390 mutex_unlock(&dnotify_mark_mutex); 386 mutex_unlock(&dnotify_mark_mutex);
391 fsnotify_put_mark(fsn_mark); 387 fsnotify_put_mark(fsn_mark);
392out_err: 388out_err: