aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-10-29 16:17:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:13 -0500
commit00d2666623368ffd39afc875ff8a2eead2a0436c (patch)
tree9b16b85167f1bd86c02c0ebeb74510d8029783a3 /fs/fuse
parent917e865df7eb020f20ffc2b4204f282a587df94f (diff)
kobject: convert main fs kobject to use kobject_create
This also renames fs_subsys to fs_kobj to catch all current users with a build error instead of a build warning which can easily be missed. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 92118066f1d6..e6e23a2ad4b3 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -795,7 +795,7 @@ static int fuse_sysfs_init(void)
795{ 795{
796 int err; 796 int err;
797 797
798 fuse_kobj = kobject_create_and_add("fuse", &fs_subsys.kobj); 798 fuse_kobj = kobject_create_and_add("fuse", fs_kobj);
799 if (!fuse_kobj) { 799 if (!fuse_kobj) {
800 err = -ENOMEM; 800 err = -ENOMEM;
801 goto out_err; 801 goto out_err;