OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565abb5
)
cgroup: fix typo
author
Yi Sun
<beyounn@gmail.com>
Tue, 17 Nov 2009 22:58:24 +0000
(14:58 -0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 31 Mar 2011 02:03:16 +0000
(10:03 +0800)
kernel/cpuset.c
patch
|
blob
|
history
diff --git
a/kernel/cpuset.c
b/kernel/cpuset.c
index
e210b3d
..
beae43e
100644
(file)
--- a/
kernel/cpuset.c
+++ b/
kernel/cpuset.c
@@
-1382,7
+1382,7
@@
static int cpuset_can_attach(struct cgroup_subsys *ss, struct cgroup *cont,
int ret;
struct cpuset *cs = cgroup_cs(cont);
- if ((current != t
a
sk) && (!capable(CAP_SYS_ADMIN))) {
+ if ((current != tsk) && (!capable(CAP_SYS_ADMIN))) {
const struct cred *cred = current_cred(), *tcred;
if (cred->euid != tcred->uid && cred->euid != tcred->suid)