Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75753
b: refs/heads/master
c: 9b47770
h: refs/heads/master
i:
  75751: aebd0de
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent 206724a commit 296186a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0
refs/heads/master: 9b477705360c16198d7a4bd73d199f5a957585b0
13 changes: 7 additions & 6 deletions trunk/arch/s390/hypfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ static struct super_operations hypfs_s_ops = {
.show_options = hypfs_show_options,
};

static decl_subsys(s390, NULL);
static struct kobject *s390_kobj;

static int __init hypfs_init(void)
{
Expand All @@ -506,17 +506,18 @@ static int __init hypfs_init(void)
goto fail_diag;
}
}
s390_subsys.kobj.parent = hypervisor_kobj;
rc = subsystem_register(&s390_subsys);
if (rc)
s390_kobj = kobject_create_and_add("s390", hypervisor_kobj);
if (!s390_kobj) {
rc = -ENOMEM;;
goto fail_sysfs;
}
rc = register_filesystem(&hypfs_type);
if (rc)
goto fail_filesystem;
return 0;

fail_filesystem:
subsystem_unregister(&s390_subsys);
kobject_unregister(s390_kobj);
fail_sysfs:
if (!MACHINE_IS_VM)
hypfs_diag_exit();
Expand All @@ -530,7 +531,7 @@ static void __exit hypfs_exit(void)
if (!MACHINE_IS_VM)
hypfs_diag_exit();
unregister_filesystem(&hypfs_type);
subsystem_unregister(&s390_subsys);
kobject_unregister(s390_kobj);
}

module_init(hypfs_init)
Expand Down

0 comments on commit 296186a

Please sign in to comment.