Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167690
b: refs/heads/master
c: 9455268
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Eric Paris committed Oct 20, 2009
1 parent 3d877ef commit 3a1f29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3de0ef4f2067da58fa5126d821a56dcb98cdb565
refs/heads/master: 945526846a84c00adac1efd1c6befdaa77039623
3 changes: 2 additions & 1 deletion trunk/fs/notify/dnotify/dnotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static int dnotify_handle_event(struct fsnotify_group *group,
struct dnotify_struct *dn;
struct dnotify_struct **prev;
struct fown_struct *fown;
__u32 test_mask = event->mask & ~FS_EVENT_ON_CHILD;

to_tell = event->to_tell;

Expand All @@ -106,7 +107,7 @@ static int dnotify_handle_event(struct fsnotify_group *group,
spin_lock(&entry->lock);
prev = &dnentry->dn;
while ((dn = *prev) != NULL) {
if ((dn->dn_mask & event->mask) == 0) {
if ((dn->dn_mask & test_mask) == 0) {
prev = &dn->dn_next;
continue;
}
Expand Down

0 comments on commit 3a1f29e

Please sign in to comment.