projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure the ->files array is job private
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 1e0eeccfdc6e5dcbf0b95b0fa479e111108826f6..e5d776c22f6a13481508a565c2d76671d2475faf 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-115,6
+115,8
@@
static struct thread_data *get_new_job(int global, struct thread_data *parent)
td = &threads[thread_number++];
*td = *parent;
+ dup_files(td, parent);
+
td->thread_number = thread_number;
return td;
}