aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/hypfs/inode.c')
-rw-r--r--arch/s390/hypfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c
index 631a6109f642..4b010ff814c9 100644
--- a/arch/s390/hypfs/inode.c
+++ b/arch/s390/hypfs/inode.c
@@ -517,7 +517,7 @@ static int __init hypfs_init(void)
517 return 0; 517 return 0;
518 518
519fail_filesystem: 519fail_filesystem:
520 kobject_unregister(s390_kobj); 520 kobject_put(s390_kobj);
521fail_sysfs: 521fail_sysfs:
522 if (!MACHINE_IS_VM) 522 if (!MACHINE_IS_VM)
523 hypfs_diag_exit(); 523 hypfs_diag_exit();
@@ -531,7 +531,7 @@ static void __exit hypfs_exit(void)
531 if (!MACHINE_IS_VM) 531 if (!MACHINE_IS_VM)
532 hypfs_diag_exit(); 532 hypfs_diag_exit();
533 unregister_filesystem(&hypfs_type); 533 unregister_filesystem(&hypfs_type);
534 kobject_unregister(s390_kobj); 534 kobject_put(s390_kobj);
535} 535}
536 536
537module_init(hypfs_init) 537module_init(hypfs_init)