projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
options: add support for checking if an option has been set
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 141f4b282471614d0309befb87865d467f0bd047..ae87b1ed9fb017834520034d72d128f6a46a4a25 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-1279,8
+1279,6
@@
void option_init(struct fio_option *o)
if (o->type == FIO_OPT_STR || o->type == FIO_OPT_STR_STORE ||
o->type == FIO_OPT_STR_MULTI)
return;
- if (o->cb && (o->off1 || o->off2 || o->off3 || o->off4))
- log_err("Option %s: both cb and offset given\n", o->name);
}
/*