projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blktrace support: support for looking up a device
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index faeefaf308fa3e32107375fed6ac68faf65fe594..d79fc61081278c934fd1c4aecbfe344666c75811 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-474,8
+474,7
@@
void close_files(struct thread_data *td)
unsigned int i;
for_each_file(td, f, i) {
- if ((f->flags & FIO_FILE_UNLINK) &&
- f->filetype == FIO_TYPE_FILE)
+ if (td->o.unlink && f->filetype == FIO_TYPE_FILE)
unlink(f->file_name);
td_io_close_file(td, f);