projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smalloc: turn on the thread safe flag
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index c728168d7ce48086c9e15d777eb0c2e9ab13f166..c3939b32ad0df0f101fa24d0bdfef6ebe716c0ff 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-217,7
+217,7
@@
static int get_next_offset(struct thread_data *td, struct io_u *io_u)
static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u)
{
const int ddir = io_u->ddir;
- unsigned int buflen
;
+ unsigned int buflen
= buflen; /* silence dumb gcc warning */
long r;
if (td->o.min_bs[ddir] == td->o.max_bs[ddir])