diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-03-28 16:11:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 18:36:41 -0800 |
commit | 8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d (patch) | |
tree | 3ae1a8fc44870ac3046213b11cad4aa8b3ce5f04 /fs | |
parent | d799f03597cabc6112acb518fc8ab4487aa4f953 (diff) | |
download | kernel-crypto-8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d.tar.gz kernel-crypto-8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d.tar.xz kernel-crypto-8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d.zip |
[PATCH] remove add_parent()'s parent argument
add_parent(p, parent) is always called with parent == p->parent, and it makes
no sense to do it differently. This patch removes this argument.
No changes in affected .o files.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exec.c b/fs/exec.c index db0769447d3..9046ad2b061 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -725,8 +725,8 @@ static int de_thread(struct task_struct *tsk) current->group_leader = current; leader->group_leader = leader; - add_parent(current, current->parent); - add_parent(leader, leader->parent); + add_parent(current); + add_parent(leader); if (ptrace) { current->ptrace = ptrace; __ptrace_link(current, parent); |