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 6d3a6249d21c..d0e160307c5d 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -65,6 +65,7 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent)
65 iput(inode); 65 iput(inode);
66 return -ENOMEM; 66 return -ENOMEM;
67 } 67 }
68 sysfs_root.s_dentry = root;
68 root->d_fsdata = &sysfs_root; 69 root->d_fsdata = &sysfs_root;
69 sb->s_root = root; 70 sb->s_root = root;
70 return 0; 71 return 0;