aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r--fs/sysfs/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 00ab9125d398..31c1fc67f604 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -28,6 +28,7 @@ static const struct super_operations sysfs_ops = {
28}; 28};
29 29
30static struct sysfs_dirent sysfs_root = { 30static struct sysfs_dirent sysfs_root = {
31 .s_count = ATOMIC_INIT(1),
31 .s_sibling = LIST_HEAD_INIT(sysfs_root.s_sibling), 32 .s_sibling = LIST_HEAD_INIT(sysfs_root.s_sibling),
32 .s_children = LIST_HEAD_INIT(sysfs_root.s_children), 33 .s_children = LIST_HEAD_INIT(sysfs_root.s_children),
33 .s_element = NULL, 34 .s_element = NULL,