]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/inode_mark.c
fsnotify: mount point listeners list and global mask
[net-next-2.6.git] / fs / notify / inode_mark.c
index a3230c485531865d7a7b1340ea931015af96403a..beffebb64627f360c98f8ddeeb4882233b49bef8 100644 (file)
@@ -328,6 +328,13 @@ int fsnotify_add_mark(struct fsnotify_mark_entry *entry,
         */
        if (unlikely(list_empty(&group->inode_group_list)))
                fsnotify_add_inode_group(group);
+       /*
+        * XXX This is where we could also do the fsnotify_add_vfsmount_group
+        * if we are setting and vfsmount mark....
+
+       if (unlikely(list_empty(&group->vfsmount_group_list)))
+               fsnotify_add_vfsmount_group(group);
+        */
 
        /*
         * LOCKING ORDER!!!!