summaryrefslogtreecommitdiffstats
path: root/fs/fuse/inode.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2007-12-20 17:13:05 +0100
committerGreg Kroah-Hartman2008-01-25 05:40:40 +0100
commit197b12d6796a3bca187f22a8978a33d51e2bcd79 (patch)
tree706ff3454f03d4aa8ca4d76010479d7f9d2b36f4 /fs/fuse/inode.c
parentKobject: convert drivers/* from kobject_unregister() to kobject_put() (diff)
downloadkernel-qcow2-linux-197b12d6796a3bca187f22a8978a33d51e2bcd79.tar.gz
kernel-qcow2-linux-197b12d6796a3bca187f22a8978a33d51e2bcd79.tar.xz
kernel-qcow2-linux-197b12d6796a3bca187f22a8978a33d51e2bcd79.zip
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 <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/fuse/inode.c')
-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)
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)