diff options
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
-rw-r--r-- | fs/kernfs/kernfs-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/kernfs/kernfs-internal.h b/fs/kernfs/kernfs-internal.h index 8be13b2a079b..dc84a3ef9ca2 100644 --- a/fs/kernfs/kernfs-internal.h +++ b/fs/kernfs/kernfs-internal.h | |||
@@ -49,6 +49,8 @@ static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) | |||
49 | * mount.c | 49 | * mount.c |
50 | */ | 50 | */ |
51 | struct kernfs_super_info { | 51 | struct kernfs_super_info { |
52 | struct super_block *sb; | ||
53 | |||
52 | /* | 54 | /* |
53 | * The root associated with this super_block. Each super_block is | 55 | * The root associated with this super_block. Each super_block is |
54 | * identified by the root and ns it's associated with. | 56 | * identified by the root and ns it's associated with. |
@@ -62,6 +64,9 @@ struct kernfs_super_info { | |||
62 | * an array and compare kernfs_node tag against every entry. | 64 | * an array and compare kernfs_node tag against every entry. |
63 | */ | 65 | */ |
64 | const void *ns; | 66 | const void *ns; |
67 | |||
68 | /* anchored at kernfs_root->supers, protected by kernfs_mutex */ | ||
69 | struct list_head node; | ||
65 | }; | 70 | }; |
66 | #define kernfs_info(SB) ((struct kernfs_super_info *)(SB->s_fs_info)) | 71 | #define kernfs_info(SB) ((struct kernfs_super_info *)(SB->s_fs_info)) |
67 | 72 | ||