Streamline pattern/meta verifies instead of special casing them
[fio.git] / options.c
index 37e68d264d928bebdf7ae6b804f14b15549da3cb..163e50899e4122d322f4a293b496b95b67d11811 100644 (file)
--- a/options.c
+++ b/options.c
@@ -675,6 +675,11 @@ static int str_verify_pattern_cb(void *data, const char *input)
                }
        }
        td->o.verify_pattern_bytes = i;
                }
        }
        td->o.verify_pattern_bytes = i;
+       /*
+        * VERIFY_META could already be set
+        */
+       if (td->o.verify == VERIFY_NONE)
+               td->o.verify = VERIFY_PATTERN;
        return 0;
 }
 
        return 0;
 }