diff options
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r-- | fs/sysfs/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 8d075272cace..701a56f341c6 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "sysfs.h" | 20 | #include "sysfs.h" |
21 | 21 | ||
22 | static struct kernfs_root *sysfs_root; | 22 | static struct kernfs_root *sysfs_root; |
23 | struct sysfs_dirent *sysfs_root_sd; | 23 | struct kernfs_node *sysfs_root_kn; |
24 | 24 | ||
25 | static struct dentry *sysfs_mount(struct file_system_type *fs_type, | 25 | static struct dentry *sysfs_mount(struct file_system_type *fs_type, |
26 | int flags, const char *dev_name, void *data) | 26 | int flags, const char *dev_name, void *data) |
@@ -66,7 +66,7 @@ int __init sysfs_init(void) | |||
66 | if (IS_ERR(sysfs_root)) | 66 | if (IS_ERR(sysfs_root)) |
67 | return PTR_ERR(sysfs_root); | 67 | return PTR_ERR(sysfs_root); |
68 | 68 | ||
69 | sysfs_root_sd = sysfs_root->sd; | 69 | sysfs_root_kn = sysfs_root->kn; |
70 | 70 | ||
71 | err = register_filesystem(&sysfs_fs_type); | 71 | err = register_filesystem(&sysfs_fs_type); |
72 | if (err) { | 72 | if (err) { |