aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-09-29 04:59:40 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 12:18:09 -0400
commit6c5c934153513dc72e2d6464f39e8ef1f27c0a3e (patch)
treebe799da4af646a96c2d6ab473e276a7361beb685 /kernel
parent3d5b6fccc4b900cc4267692f015ea500bad4c6bf (diff)
[PATCH] ifdef blktrace debugging fields
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 802b1cf0e63f..bca6ce6d3ded 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -183,7 +183,9 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
183 /* One for us, one for whoever does the "release_task()" (usually parent) */ 183 /* One for us, one for whoever does the "release_task()" (usually parent) */
184 atomic_set(&tsk->usage,2); 184 atomic_set(&tsk->usage,2);
185 atomic_set(&tsk->fs_excl, 0); 185 atomic_set(&tsk->fs_excl, 0);
186#ifdef CONFIG_BLK_DEV_IO_TRACE
186 tsk->btrace_seq = 0; 187 tsk->btrace_seq = 0;
188#endif
187 tsk->splice_pipe = NULL; 189 tsk->splice_pipe = NULL;
188 return tsk; 190 return tsk;
189} 191}