aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index e6e23a2ad4b3..e5e80d1a4687 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -810,15 +810,15 @@ static int fuse_sysfs_init(void)
810 return 0; 810 return 0;
811 811
812 out_fuse_unregister: 812 out_fuse_unregister:
813 kobject_unregister(fuse_kobj); 813 kobject_put(fuse_kobj);
814 out_err: 814 out_err:
815 return err; 815 return err;
816} 816}
817 817
818static void fuse_sysfs_cleanup(void) 818static void fuse_sysfs_cleanup(void)
819{ 819{
820 kobject_unregister(connections_kobj); 820 kobject_put(connections_kobj);
821 kobject_unregister(fuse_kobj); 821 kobject_put(fuse_kobj);
822} 822}
823 823
824static int __init fuse_init(void) 824static int __init fuse_init(void)