projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset file count when freeing files
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 84eaed68c230520f47bd2853cb20225c078938ef..2049fd6502cc80ec8c0214c55029c5cad7fb1786 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-1524,6
+1524,8
@@
int get_fileno(struct thread_data *td, const char *fname)
void free_release_files(struct thread_data *td)
{
close_files(td);
+ td->o.nr_files = 0;
+ td->o.open_files = 0;
td->files_index = 0;
td->nr_normal_files = 0;
}