Kobject: convert fs/* from kobject_unregister() to kobject_put()

There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().


Cc: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Greg Kroah-Hartman 2007-12-20 08:13:05 -08:00
commit 197b12d679
8 changed files with 18 additions and 18 deletions

View file

@ -810,15 +810,15 @@ static int fuse_sysfs_init(void)
return 0;
out_fuse_unregister:
kobject_unregister(fuse_kobj);
kobject_put(fuse_kobj);
out_err:
return err;
}
static void fuse_sysfs_cleanup(void)
{
kobject_unregister(connections_kobj);
kobject_unregister(fuse_kobj);
kobject_put(connections_kobj);
kobject_put(fuse_kobj);
}
static int __init fuse_init(void)