vfs: keep list of mounts for each superblock
[linux-2.6-block.git] / include / linux / fs.h
index cc1021fd19efafbb3099ac91e60937b96138a4eb..03385acd71e8e4aee4570934b72e63a512915fcd 100644 (file)
@@ -1428,6 +1428,7 @@ struct super_block {
 #else
        struct list_head        s_files;
 #endif
+       struct list_head        s_mounts;       /* list of mounts; _not_ for fs use */
        /* s_dentry_lru, s_nr_dentry_unused protected by dcache.c lru locks */
        struct list_head        s_dentry_lru;   /* unused dentry lru */
        int                     s_nr_dentry_unused;     /* # of dentry on lru */