diff options
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 3c261681713b..ce29e28b766d 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -18,11 +18,10 @@ struct sysfs_open_dirent; | |||
18 | /* type-specific structures for sysfs_dirent->s_* union members */ | 18 | /* type-specific structures for sysfs_dirent->s_* union members */ |
19 | struct sysfs_elem_dir { | 19 | struct sysfs_elem_dir { |
20 | struct kobject *kobj; | 20 | struct kobject *kobj; |
21 | /* children list starts here and goes through sd->s_sibling */ | ||
22 | struct sysfs_dirent *children; | ||
23 | 21 | ||
24 | unsigned long subdirs; | 22 | unsigned long subdirs; |
25 | 23 | ||
24 | struct rb_root inode_tree; | ||
26 | struct rb_root name_tree; | 25 | struct rb_root name_tree; |
27 | }; | 26 | }; |
28 | 27 | ||
@@ -61,9 +60,9 @@ struct sysfs_dirent { | |||
61 | struct lockdep_map dep_map; | 60 | struct lockdep_map dep_map; |
62 | #endif | 61 | #endif |
63 | struct sysfs_dirent *s_parent; | 62 | struct sysfs_dirent *s_parent; |
64 | struct sysfs_dirent *s_sibling; | ||
65 | const char *s_name; | 63 | const char *s_name; |
66 | 64 | ||
65 | struct rb_node inode_node; | ||
67 | struct rb_node name_node; | 66 | struct rb_node name_node; |
68 | 67 | ||
69 | union { | 68 | union { |