]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/fsnotify_backend.h
fsnotify: Fix fsnotify_mark_connector race
[mirror_ubuntu-artful-kernel.git] / include / linux / fsnotify_backend.h
index c6c69318752bd7b8caeecee48496bb39227c2754..3504ac3a9b2806723169cc9b17fe1d329d3f0886 100644 (file)
@@ -216,12 +216,10 @@ struct fsnotify_mark_connector {
        union { /* Object pointer [lock] */
                struct inode *inode;
                struct vfsmount *mnt;
-       };
-       union {
-               struct hlist_head list;
                /* Used listing heads to free after srcu period expires */
                struct fsnotify_mark_connector *destroy_next;
        };
+       struct hlist_head list;
 };
 
 /*