diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-29 21:17:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 05:40:13 +0100 |
commit | 00d2666623368ffd39afc875ff8a2eead2a0436c (patch) | |
tree | 9b16b85167f1bd86c02c0ebeb74510d8029783a3 /fs/fuse | |
parent | kset: convert ecryptfs to use kset_create (diff) | |
download | linux-00d2666623368ffd39afc875ff8a2eead2a0436c.tar.xz linux-00d2666623368ffd39afc875ff8a2eead2a0436c.zip |
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.c | 2 |
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) { int err; - fuse_kobj = kobject_create_and_add("fuse", &fs_subsys.kobj); + fuse_kobj = kobject_create_and_add("fuse", fs_kobj); if (!fuse_kobj) { err = -ENOMEM; goto out_err; |