]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/inode_mark.c
fsnotify: add flags to fsnotify_mark_entries
[net-next-2.6.git] / fs / notify / inode_mark.c
index 6731408c49f7b3faddfe613ef4d3719f9d101260..b00065842b3e51bde65670e4abc116013d42cdbb 100644 (file)
@@ -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