Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207707
b: refs/heads/master
c: 611da04
h: refs/heads/master
i:
  207705: f28d04d
  207703: 76a58da
v: v3
  • Loading branch information
Eric Paris committed Jul 28, 2010
1 parent d359d8e commit a43c497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: ff311008ab8d2f2cfdbbefd407d1b05acc8164b2
refs/heads/master: 611da04f7a31b2208e838be55a42c7a1310ae321
7 changes: 5 additions & 2 deletions trunk/fs/notify/inotify/inotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ static inline __u32 inotify_arg_to_mask(u32 arg)
{
__u32 mask;

/* everything should accept their own ignored and cares about children */
mask = (FS_IN_IGNORED | FS_EVENT_ON_CHILD);
/*
* everything should accept their own ignored, cares about children,
* and should receive events when the inode is unmounted
*/
mask = (FS_IN_IGNORED | FS_EVENT_ON_CHILD | FS_UNMOUNT);

/* mask off the flags used to open the fd */
mask |= (arg & (IN_ALL_EVENTS | IN_ONESHOT));
Expand Down

0 comments on commit a43c497

Please sign in to comment.