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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 28bf359981fc..465902c18d31 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -24,8 +24,9 @@ static const struct super_operations sysfs_ops = {
24}; 24};
25 25
26struct sysfs_dirent sysfs_root = { 26struct sysfs_dirent sysfs_root = {
27 .s_name = "",
27 .s_count = ATOMIC_INIT(1), 28 .s_count = ATOMIC_INIT(1),
28 .s_flags = SYSFS_ROOT, 29 .s_flags = SYSFS_DIR,
29 .s_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, 30 .s_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO,
30 .s_ino = 1, 31 .s_ino = 1,
31}; 32};