diff options
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 c26c21b53c19..640cb6a6fc4c 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -222,7 +222,6 @@ static struct kobj_type gfs2_ktype = { | |||
222 | }; | 222 | }; |
223 | 223 | ||
224 | static struct kset gfs2_kset = { | 224 | static struct kset gfs2_kset = { |
225 | .kobj = {.name = "gfs2"}, | ||
226 | .ktype = &gfs2_ktype, | 225 | .ktype = &gfs2_ktype, |
227 | }; | 226 | }; |
228 | 227 | ||
@@ -553,6 +552,7 @@ int gfs2_sys_init(void) | |||
553 | { | 552 | { |
554 | gfs2_sys_margs = NULL; | 553 | gfs2_sys_margs = NULL; |
555 | spin_lock_init(&gfs2_sys_margs_lock); | 554 | spin_lock_init(&gfs2_sys_margs_lock); |
555 | kobject_set_name(&gfs2_kset.kobj, "gfs2"); | ||
556 | kobj_set_kset_s(&gfs2_kset, fs_subsys); | 556 | kobj_set_kset_s(&gfs2_kset, fs_subsys); |
557 | return kset_register(&gfs2_kset); | 557 | return kset_register(&gfs2_kset); |
558 | } | 558 | } |