diff options
Diffstat (limited to 'fs/configfs')
-rw-r--r-- | fs/configfs/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index 3bf0278ea84..374ddbd6648 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c @@ -128,7 +128,7 @@ void configfs_release_fs(void) } -static decl_subsys(config, NULL, NULL); +static decl_subsys(config, NULL); static int __init configfs_init(void) { @@ -140,7 +140,7 @@ static int __init configfs_init(void) if (!configfs_dir_cachep) goto out; - kobj_set_kset_s(&config_subsys, kernel_subsys); + config_subsys.kobj.kset = &kernel_subsys; err = subsystem_register(&config_subsys); if (err) { kmem_cache_destroy(configfs_dir_cachep); |