X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=parse.c;h=952118c6036ddf7fc6fd9cf49a3d13350920c976;hb=8b813b1ddbb7c556aab48b3c6f46c7b84f0ec5e9;hp=194ad594779a59a6de8104939fd5b7ef5dc1f69a;hpb=a6d7953002576946bd7d6703fca698a16ad454a5;p=fio.git diff --git a/parse.c b/parse.c index 194ad594..952118c6 100644 --- a/parse.c +++ b/parse.c @@ -959,6 +959,7 @@ static int handle_option(const struct fio_option *o, const char *__ptr, if (ptr && (o->type != FIO_OPT_STR_STORE) && (o->type != FIO_OPT_STR) && + (o->type != FIO_OPT_STR_ULL) && (o->type != FIO_OPT_FLOAT_LIST)) { ptr2 = strchr(ptr, ','); if (ptr2 && *(ptr2 + 1) == '\0') @@ -1372,9 +1373,6 @@ static void option_init(struct fio_option *o) o->category = FIO_OPT_C_GENERAL; o->group = FIO_OPT_G_INVALID; } - if (o->type == FIO_OPT_STR || o->type == FIO_OPT_STR_STORE || - o->type == FIO_OPT_STR_MULTI) - return; } /*