aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 60405a6e4c22..42b0327d1624 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -1,6 +1,8 @@
1/* type-specific structures for sysfs_dirent->s_* union members */ 1/* type-specific structures for sysfs_dirent->s_* union members */
2struct sysfs_elem_dir { 2struct sysfs_elem_dir {
3 struct kobject *kobj; 3 struct kobject *kobj;
4 /* children list starts here and goes through sd->s_sibling */
5 struct sysfs_dirent *children;
4}; 6};
5 7
6struct sysfs_elem_symlink { 8struct sysfs_elem_symlink {
@@ -28,7 +30,6 @@ struct sysfs_dirent {
28 atomic_t s_active; 30 atomic_t s_active;
29 struct sysfs_dirent *s_parent; 31 struct sysfs_dirent *s_parent;
30 struct sysfs_dirent *s_sibling; 32 struct sysfs_dirent *s_sibling;
31 struct sysfs_dirent *s_children;
32 const char *s_name; 33 const char *s_name;
33 34
34 union { 35 union {