projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe22d3
)
Fix typo in io_u.c::get_next_file()
author
Andrey Kuzmin
<andrey.v.kuzmin@gmail.com>
Sat, 28 Jun 2014 02:21:22 +0000
(20:21 -0600)
committer
Jens Axboe
<axboe@fb.com>
Sat, 28 Jun 2014 02:21:22 +0000
(20:21 -0600)
We should check ops->get_next_file() is TD_F_PROFILE_OPS
is set, not if it's unset.
Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index e132fd9d2d98bab78eae9af8c8706a1e30b07c98..997e1137ab906c090040213f8fe7eecf1c72af76 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1100,7
+1100,7
@@
out:
static struct fio_file *get_next_file(struct thread_data *td)
{
- if (
!(td->flags & TD_F_PROFILE_OPS)
) {
+ if (
td->flags & TD_F_PROFILE_OPS
) {
struct prof_io_ops *ops = &td->prof_io_ops;
if (ops->get_next_file)