Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157163
b: refs/heads/master
c: 750a887
h: refs/heads/master
i:
  157161: 70e7777
  157159: d1580b5
v: v3
  • Loading branch information
Eric Paris committed Aug 28, 2009
1 parent d6b6f25 commit e1f2724
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 83cb10f0ef3c96162be92339ccf8c0c9c9f2d13e
refs/heads/master: 750a8870fe4016ef3091fc97e084d58c613c2cc7
4 changes: 4 additions & 0 deletions trunk/fs/notify/inotify/inotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,10 @@ static int inotify_new_watch(struct fsnotify_group *group,
/* match the ref from fsnotify_init_markentry() */
fsnotify_put_mark(&tmp_ientry->fsn_entry);

/* if this mark added a new event update the group mask */
if (mask & ~group->mask)
fsnotify_recalc_group_mask(group);

out_err:
if (ret < 0)
kmem_cache_free(inotify_inode_mark_cachep, tmp_ientry);
Expand Down

0 comments on commit e1f2724

Please sign in to comment.