projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flist: add flist_first_entry()
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 5b9d483dcd330b69ff0ddff4f86cb9512247cf31..16b52d63aa0971e5c73dd9ddb651a14054289bb6 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-223,7
+223,7
@@
static int get_next_rand_offset(struct thread_data *td, struct fio_file *f,
if (!flist_empty(&td->next_rand_list)) {
struct rand_off *r;
fetch:
- r = flist_
entry(td->next_rand_list.nex
t, struct rand_off, list);
+ r = flist_
first_entry(&td->next_rand_lis
t, struct rand_off, list);
flist_del(&r->list);
*b = r->off;
free(r);