projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix loop with multiple files
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index e9dc72db740669952d4c8d4fb24dea38855fdfeb..aad0720f97e9429248f31fd439e2a6e5d1098170 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-523,6
+523,7
@@
void put_file(struct thread_data *td, struct fio_file *f)
if (td->io_ops->close_file)
td->io_ops->close_file(td, f);
if (td->io_ops->close_file)
td->io_ops->close_file(td, f);
+
td->nr_open_files--;
f->flags &= ~FIO_FILE_OPEN;
}
td->nr_open_files--;
f->flags &= ~FIO_FILE_OPEN;
}