diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-29 14:17:23 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:13 -0800 |
commit | 00d2666623368ffd39afc875ff8a2eead2a0436c (patch) | |
tree | 9b16b85167f1bd86c02c0ebeb74510d8029783a3 /fs/gfs2/sys.c | |
parent | 917e865df7eb020f20ffc2b4204f282a587df94f (diff) | |
download | kernel_goldelico_gta04-00d2666623368ffd39afc875ff8a2eead2a0436c.zip kernel_goldelico_gta04-00d2666623368ffd39afc875ff8a2eead2a0436c.tar.gz kernel_goldelico_gta04-00d2666623368ffd39afc875ff8a2eead2a0436c.tar.bz2 |
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 d7fa544..a0bdc4a 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c @@ -549,7 +549,7 @@ int gfs2_sys_init(void) gfs2_sys_margs = NULL; spin_lock_init(&gfs2_sys_margs_lock); kobject_set_name(&gfs2_kset.kobj, "gfs2"); - gfs2_kset.kobj.kset = &fs_subsys; + gfs2_kset.kobj.parent = fs_kobj; return kset_register(&gfs2_kset); } |