diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-29 16:17:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:13 -0500 |
commit | 00d2666623368ffd39afc875ff8a2eead2a0436c (patch) | |
tree | 9b16b85167f1bd86c02c0ebeb74510d8029783a3 /fs/gfs2/sys.c | |
parent | 917e865df7eb020f20ffc2b4204f282a587df94f (diff) |
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>
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r-- | fs/gfs2/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index d7fa54443f0c..a0bdc4a3acf9 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -549,7 +549,7 @@ int gfs2_sys_init(void) | |||
549 | gfs2_sys_margs = NULL; | 549 | gfs2_sys_margs = NULL; |
550 | spin_lock_init(&gfs2_sys_margs_lock); | 550 | spin_lock_init(&gfs2_sys_margs_lock); |
551 | kobject_set_name(&gfs2_kset.kobj, "gfs2"); | 551 | kobject_set_name(&gfs2_kset.kobj, "gfs2"); |
552 | gfs2_kset.kobj.kset = &fs_subsys; | 552 | gfs2_kset.kobj.parent = fs_kobj; |
553 | return kset_register(&gfs2_kset); | 553 | return kset_register(&gfs2_kset); |
554 | } | 554 | } |
555 | 555 | ||