diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-03-24 01:17:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-02 14:12:00 -0400 |
commit | 32bd7eb5a7f4596c8440dd9440322fe9e686634d (patch) | |
tree | f1d0c0a215c1305aec0a8f407b431a975f7ad072 /kernel/cred.c | |
parent | c9494727cf293ae2ec66af57547a3e79c724fec2 (diff) |
sched: Remove remaining USER_SCHED code
This is left over from commit 7c9414385e ("sched: Remove USER_SCHED"")
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Howells <dhowells@redhat.com>
LKML-Reference: <4BA9A05F.7010407@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/cred.c')
-rw-r--r-- | kernel/cred.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/cred.c b/kernel/cred.c index 1b1129d0cce8..19d3ccce3d4d 100644 --- a/kernel/cred.c +++ b/kernel/cred.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/init_task.h> | 16 | #include <linux/init_task.h> |
17 | #include <linux/security.h> | 17 | #include <linux/security.h> |
18 | #include <linux/cn_proc.h> | 18 | #include <linux/cn_proc.h> |
19 | #include "cred-internals.h" | ||
20 | 19 | ||
21 | #if 0 | 20 | #if 0 |
22 | #define kdebug(FMT, ...) \ | 21 | #define kdebug(FMT, ...) \ |
@@ -557,8 +556,6 @@ int commit_creds(struct cred *new) | |||
557 | atomic_dec(&old->user->processes); | 556 | atomic_dec(&old->user->processes); |
558 | alter_cred_subscribers(old, -2); | 557 | alter_cred_subscribers(old, -2); |
559 | 558 | ||
560 | sched_switch_user(task); | ||
561 | |||
562 | /* send notifications */ | 559 | /* send notifications */ |
563 | if (new->uid != old->uid || | 560 | if (new->uid != old->uid || |
564 | new->euid != old->euid || | 561 | new->euid != old->euid || |