]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/gfs2/sys.c
[SCSI] Merge up to linux-2.6 head
[linux-2.6-omap-h63xx.git] / fs / gfs2 / sys.c
index d01f9f0fda261de2b95cff57353b0f8ca44ff79e..c26c21b53c19a2ccb26d1e75ee81569634f943b3 100644 (file)
@@ -222,7 +222,6 @@ static struct kobj_type gfs2_ktype = {
 };
 
 static struct kset gfs2_kset = {
-       .subsys = &fs_subsys,
        .kobj   = {.name = "gfs2"},
        .ktype  = &gfs2_ktype,
 };
@@ -554,6 +553,7 @@ int gfs2_sys_init(void)
 {
        gfs2_sys_margs = NULL;
        spin_lock_init(&gfs2_sys_margs_lock);
+       kobj_set_kset_s(&gfs2_kset, fs_subsys);
        return kset_register(&gfs2_kset);
 }