diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-20 11:13:05 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:40 -0500 |
| commit | 197b12d6796a3bca187f22a8978a33d51e2bcd79 (patch) | |
| tree | 706ff3454f03d4aa8ca4d76010479d7f9d2b36f4 /fs/fuse | |
| parent | c10997f6575f476ff38442fa18fd4a0d80345f9d (diff) | |
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')
| -rw-r--r-- | fs/fuse/inode.c | 6 |
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 | ||
| 818 | static void fuse_sysfs_cleanup(void) | 818 | static 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 | ||
| 824 | static int __init fuse_init(void) | 824 | static int __init fuse_init(void) |
