projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b5696bf
)
Need to clear ->files_size when ->files is cleared
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 4 Mar 2009 19:17:22 +0000
(20:17 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 4 Mar 2009 19:17:22 +0000
(20:17 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 001e5c45f017c20dfdc2290374a7297b3fc02a21..6fdd2116601191ff08297cd7759a809a86c03fb8 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-585,6
+585,7
@@
static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
if (file_alloced) {
td_new->o.filename = NULL;
td_new->files_index = 0;
+ td_new->files_size = 0;
td_new->files = NULL;
}