mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
[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>
This commit is contained in:
parent
3d5b6fccc4
commit
6c5c934153
5 changed files with 11 additions and 7 deletions
|
@ -183,7 +183,9 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
|
|||
/* One for us, one for whoever does the "release_task()" (usually parent) */
|
||||
atomic_set(&tsk->usage,2);
|
||||
atomic_set(&tsk->fs_excl, 0);
|
||||
#ifdef CONFIG_BLK_DEV_IO_TRACE
|
||||
tsk->btrace_seq = 0;
|
||||
#endif
|
||||
tsk->splice_pipe = NULL;
|
||||
return tsk;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue