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, 0 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 8989cbb51a39..28bf359981fc 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -56,7 +56,6 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent)
56 iput(inode); 56 iput(inode);
57 return -ENOMEM; 57 return -ENOMEM;
58 } 58 }
59 sysfs_root.s_dentry = root;
60 root->d_fsdata = &sysfs_root; 59 root->d_fsdata = &sysfs_root;
61 sb->s_root = root; 60 sb->s_root = root;
62 return 0; 61 return 0;