Filename must be parsed after directory option
authorJens Axboe <jens.axboe@oracle.com>
Mon, 27 Apr 2009 06:00:48 +0000 (08:00 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 27 Apr 2009 06:00:48 +0000 (08:00 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c

index 21de222..9267f79 100644 (file)
--- a/options.c
+++ b/options.c
@@ -605,7 +605,7 @@ static struct fio_option options[] = {
                .type   = FIO_OPT_STR_STORE,
                .off1   = td_var_offset(filename),
                .cb     = str_filename_cb,
-               .prio   = 1, /* must come before "directory" */
+               .prio   = -1, /* must come after "directory" */
                .help   = "File(s) to use for the workload",
        },
        {