remove "struct subsystem" as it is no longer needed
We need to work on cleaning up the relationship between kobjects, ksets and ktypes. The removal of 'struct subsystem' is the first step of this, especially as it is not really needed at all. Thanks to Kay for fixing the bugs in this patch. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@ -140,7 +140,7 @@ static int __init configfs_init(void)
|
||||
if (!configfs_dir_cachep)
|
||||
goto out;
|
||||
|
||||
kset_set_kset_s(&config_subsys, kernel_subsys);
|
||||
kobj_set_kset_s(&config_subsys, kernel_subsys);
|
||||
err = subsystem_register(&config_subsys);
|
||||
if (err) {
|
||||
kmem_cache_destroy(configfs_dir_cachep);
|
||||
|
Reference in New Issue
Block a user