Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210094
b: refs/heads/master
c: 5f3f259
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Aug 23, 2010
1 parent f95954c commit e19b55f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: faa9560ae76ef50a3cbfb1a6afc0343fd8172374
refs/heads/master: 5f3f259fa8f1d7969360acfad5307d03c2f53d63
4 changes: 3 additions & 1 deletion trunk/fs/notify/fsnotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is,
struct fsnotify_event *event = NULL;
struct vfsmount *mnt;
int idx, ret = 0;
bool used_inode = false, used_vfsmount = false;
bool used_inode, used_vfsmount;
/* global tests shouldn't care about events on child only the specific event */
__u32 test_mask = (mask & ~FS_EVENT_ON_CHILD);

Expand Down Expand Up @@ -261,6 +261,8 @@ int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is,
}

while (inode_node || vfsmount_node) {
used_inode = used_vfsmount = false;

if (inode_node) {
inode_mark = hlist_entry(srcu_dereference(inode_node, &fsnotify_mark_srcu),
struct fsnotify_mark, i.i_list);
Expand Down

0 comments on commit e19b55f

Please sign in to comment.