summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-04-20 08:17:04 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-20 08:17:04 -0700
commit402a26f0c040077ed6f941eefac5a6971f0d5f40 (patch)
treef74e5d732404e9716b3c753007bac0f5d1e92869 /kernel
parentbf7cf6ee1bd00679bbe93b6ae73f80032759b8df (diff)
parent4f73247f0e53be1bd4aa519476e6261a8e4a64ab (diff)
downloadop-kernel-dev-402a26f0c040077ed6f941eefac5a6971f0d5f40.zip
op-kernel-dev-402a26f0c040077ed6f941eefac5a6971f0d5f40.tar.gz
Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block
* 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] block/elevator.c: remove unused exports [PATCH] splice: fix smaller sized splice reads [PATCH] Don't inherit ->splice_pipe across forks [patch] cleanup: use blk_queue_stopped [PATCH] Document online io scheduler switching
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 3451577..d2fa57d 100644
--- 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;
}
OpenPOWER on IntegriCloud