Skip to content
Snippets Groups Projects
Commit a0aa7f68 authored by Jens Axboe's avatar Jens Axboe
Browse files

[PATCH] Don't inherit ->splice_pipe across forks


It's really task private, so clear that field on fork after copying
task structure.

Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent 7daac490
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment