projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Only unlink the same file once
[fio.git]
/
log.c
diff --git
a/log.c
b/log.c
index 51eaee6ecae085e6bc71184148ba26bf8574c1e1..17a4cdf782c9b02c7c897454abcae6bf66dec34e 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-170,10
+170,12
@@
static int init_iolog_write(struct thread_data *td)
int init_iolog(struct thread_data *td)
{
+ int ret = 0;
+
if (td->read_iolog)
- ret
urn
init_iolog_read(td);
+ ret
=
init_iolog_read(td);
else if (td->write_iolog)
- ret
urn
init_iolog_write(td);
+ ret
=
init_iolog_write(td);
return 0;
}