diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-18 03:24:24 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 15:58:52 +0200 |
commit | 098cf2fc77ee190c92bf9d08d69a13305f2487ec (patch) | |
tree | f6727bf583df63edb751e2887d40287b3bd37809 /fs/notify/inode_mark.c | |
parent | fsnotify: add vfsmount specific fields to the fsnotify_mark_entry union (diff) | |
download | linux-098cf2fc77ee190c92bf9d08d69a13305f2487ec.tar.xz linux-098cf2fc77ee190c92bf9d08d69a13305f2487ec.zip |
fsnotify: add flags to fsnotify_mark_entries
To differentiate between inode and vfsmount (or other future) types of
marks we add a flags field and set the inode bit on inode marks (the only
currently supported type of mark)
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/inode_mark.c')
-rw-r--r-- | fs/notify/inode_mark.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c index 6731408c49f7..b00065842b3e 100644 --- a/fs/notify/inode_mark.c +++ b/fs/notify/inode_mark.c @@ -322,6 +322,8 @@ int fsnotify_add_mark(struct fsnotify_mark_entry *entry, if (unlikely(!inode)) return -EINVAL; + entry->flags = FSNOTIFY_MARK_FLAG_INODE; + /* * if this group isn't being testing for inode type events we need * to start testing |