fsnotify: allow ignored_mask to survive modification
Some inodes a group may want to never hear about a set of events even if the inode is modified. We add a new mark flag which indicates that these marks should not have their ignored_mask cleared on modification. Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
parent
e898386146
commit
c908370fc1
2 changed files with 5 additions and 2 deletions
|
@ -271,6 +271,7 @@ struct fsnotify_mark {
|
|||
#define FSNOTIFY_MARK_FLAG_INODE 0x01
|
||||
#define FSNOTIFY_MARK_FLAG_VFSMOUNT 0x02
|
||||
#define FSNOTIFY_MARK_FLAG_OBJECT_PINNED 0x04
|
||||
#define FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY 0x08
|
||||
unsigned int flags; /* vfsmount or inode mark? */
|
||||
void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue