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:
ae4020f
)
[PATCH] Fix typo
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 24 Jan 2007 08:21:31 +0000
(09:21 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 24 Jan 2007 08:21:31 +0000
(09:21 +0100)
WRITE -> DDIR_WRITE
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 2af6c2fc560b99237b6ca24344f4a8c55426289c..2d8193e40be81fcb598069d0787141da13951c6c 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-107,7
+107,8
@@
static int create_files(struct thread_data *td)
for_each_file(td, f, i) {
int file_there = !file_ok(td, f);
- if (file_there && td->ddir == WRITE && !td->overwrite) {
+ if (file_there && td->ddir == DDIR_WRITE &&
+ !td->overwrite) {
unlink(f->file_name);
file_there = 0;
}