mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
kobject: convert main fs kobject to use kobject_create
This also renames fs_subsys to fs_kobj to catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
917e865df7
commit
00d2666623
5 changed files with 9 additions and 10 deletions
|
@ -798,7 +798,7 @@ static int do_sysfs_registration(void)
|
|||
{
|
||||
int rc;
|
||||
|
||||
ecryptfs_kset = kset_create_and_add("ecryptfs", NULL, &fs_subsys.kobj);
|
||||
ecryptfs_kset = kset_create_and_add("ecryptfs", NULL, fs_kobj);
|
||||
if (!ecryptfs_kset) {
|
||||
printk(KERN_ERR "Unable to create ecryptfs kset\n");
|
||||
rc = -ENOMEM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue