diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-29 16:17:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:13 -0500 |
commit | 00d2666623368ffd39afc875ff8a2eead2a0436c (patch) | |
tree | 9b16b85167f1bd86c02c0ebeb74510d8029783a3 /fs/ecryptfs | |
parent | 917e865df7eb020f20ffc2b4204f282a587df94f (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/ecryptfs')
-rw-r--r-- | fs/ecryptfs/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 4750d82c3db9..bdeac3877a84 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c | |||
@@ -798,7 +798,7 @@ static int do_sysfs_registration(void) | |||
798 | { | 798 | { |
799 | int rc; | 799 | int rc; |
800 | 800 | ||
801 | ecryptfs_kset = kset_create_and_add("ecryptfs", NULL, &fs_subsys.kobj); | 801 | ecryptfs_kset = kset_create_and_add("ecryptfs", NULL, fs_kobj); |
802 | if (!ecryptfs_kset) { | 802 | if (!ecryptfs_kset) { |
803 | printk(KERN_ERR "Unable to create ecryptfs kset\n"); | 803 | printk(KERN_ERR "Unable to create ecryptfs kset\n"); |
804 | rc = -ENOMEM; | 804 | rc = -ENOMEM; |