Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207687
b: refs/heads/master
c: c9778a9
h: refs/heads/master
i:
  207685: b9a5e0e
  207683: 3c57e37
  207679: 652f8c2
v: v3
  • Loading branch information
Eric Paris committed Jul 28, 2010
1 parent f1e73cd commit bf927a5
Show file tree
Hide file tree
Showing 3 changed files with 6 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: c908370fc1ac27fd7e1fc0f34c693047b26564ce
refs/heads/master: c9778a98e7440fb73e0d27b8155a688663a0d493
2 changes: 2 additions & 0 deletions trunk/fs/notify/fanotify/fanotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark,
} else {
oldmask = fsn_mark->ignored_mask;
fsnotify_set_mark_ignored_mask_locked(fsn_mark, (oldmask | mask));
if (flags & FAN_MARK_IGNORED_SURV_MODIFY)
fsn_mark->flags |= FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY;
}
spin_unlock(&fsn_mark->lock);

Expand Down
4 changes: 3 additions & 1 deletion trunk/include/linux/fanotify.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
#define FAN_MARK_ONLYDIR 0x00000008
#define FAN_MARK_MOUNT 0x00000010
#define FAN_MARK_IGNORED_MASK 0x00000020
#define FAN_MARK_IGNORED_SURV_MODIFY 0x00000040

#define FAN_ALL_MARK_FLAGS (FAN_MARK_ADD |\
FAN_MARK_REMOVE |\
FAN_MARK_DONT_FOLLOW |\
FAN_MARK_ONLYDIR |\
FAN_MARK_MOUNT |\
FAN_MARK_IGNORED_MASK)
FAN_MARK_IGNORED_MASK |\
FAN_MARK_IGNORED_SURV_MODIFY)

/*
* All of the events - we build the list by hand so that we can add flags in
Expand Down

0 comments on commit bf927a5

Please sign in to comment.