Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207706
b: refs/heads/master
c: ff31100
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Jul 28, 2010
1 parent f28d04d commit d359d8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4e047a22058f48544b16728e0f15a3fc12bb0cf
refs/heads/master: ff311008ab8d2f2cfdbbefd407d1b05acc8164b2
3 changes: 3 additions & 0 deletions trunk/fs/notify/inotify/inotify_fsnotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ static int inotify_handle_event(struct fsnotify_group *group, struct fsnotify_ev
ret = 0;
}

if (fsn_mark->mask & IN_ONESHOT)
fsnotify_destroy_mark(fsn_mark);

/*
* If we hold the fsn_mark until after the event is on the queue
* IN_IGNORED won't be able to pass this event in the queue
Expand Down

0 comments on commit d359d8e

Please sign in to comment.