diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-04-19 21:45:00 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 21:45:00 +0400 |
commit | eff766a65c60237bfa865160c3129de31fab591b (patch) | |
tree | c003be272be4bd614485606c77893295f3b175a2 /kernel/user.c | |
parent | ec7dc8ac73e4a56ed03b673f026f08c0d547f597 (diff) | |
download | linux-eff766a65c60237bfa865160c3129de31fab591b.tar.xz |
sched: fix the task_group hierarchy for UID grouping
UID grouping doesn't actually have a task_group representing the root of
the task_group tree. Add one.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 a28d9f992468..debce602bfdd 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -101,7 +101,7 @@ static int sched_create_user(struct user_struct *up) { int rc = 0; - up->tg = sched_create_group(NULL); + up->tg = sched_create_group(&root_task_group); if (IS_ERR(up->tg)) rc = -ENOMEM; |