projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7daac49
)
[PATCH] Don't inherit ->splice_pipe across forks
author
Jens Axboe
<axboe@suse.de>
Thu, 20 Apr 2006 11:05:33 +0000
(13:05 +0200)
committer
Jens Axboe
<axboe@suse.de>
Thu, 20 Apr 2006 11:05:33 +0000
(13:05 +0200)
It's really task private, so clear that field on fork after copying
task structure.
Signed-off-by: Jens Axboe <axboe@suse.de>
kernel/fork.c
patch
|
blob
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
3451577
..
d2fa57d
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-180,6
+180,7
@@
static struct task_struct *dup_task_struct(struct task_struct *orig)
atomic_set(&tsk->usage,2);
atomic_set(&tsk->fs_excl, 0);
tsk->btrace_seq = 0;
+ tsk->splice_pipe = NULL;
return tsk;
}