projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a308f0
)
Fix badly merged dprint()
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 26 Mar 2008 08:57:18 +0000
(09:57 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 26 Mar 2008 08:57:18 +0000
(09:57 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index bb43ee5829f9dfff3231ebb3ca7f4b50ac1e7bab..4774d84213b37038ffc8284275fe3543787e7e80 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-37,6
+37,7
@@
static int extend_file(struct thread_data *td, struct fio_file *f)
unlink_file = 1;
if (unlink_file || new_layout) {
+ dprint(FD_FILE, "layout unlink %s\n", f->file_name);
if ((unlink(f->file_name) < 0) && (errno != ENOENT)) {
td_verror(td, errno, "unlink");
return 1;
@@
-116,7
+117,6
@@
err:
return 1;
}
- dprint(FD_FILE, "layout unlink %s\n", f->file_name);
static unsigned long long get_rand_file_size(struct thread_data *td)
{
unsigned long long ret, size_d;