diff options
Diffstat (limited to 'kernel/user.c')
-rw-r--r-- | kernel/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/user.c b/kernel/user.c index 5a106f3fdf05..7f17e6e8fd65 100644 --- a/kernel/user.c +++ b/kernel/user.c | |||
@@ -201,7 +201,7 @@ done: | |||
201 | */ | 201 | */ |
202 | int __init uids_sysfs_init(void) | 202 | int __init uids_sysfs_init(void) |
203 | { | 203 | { |
204 | uids_kset = kset_create_and_add("uids", NULL, &kernel_kset->kobj); | 204 | uids_kset = kset_create_and_add("uids", NULL, kernel_kobj); |
205 | if (!uids_kset) | 205 | if (!uids_kset) |
206 | return -ENOMEM; | 206 | return -ENOMEM; |
207 | 207 | ||