diff options
author | Jens Axboe <axboe@fb.com> | 2015-01-03 12:15:57 -0700 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2015-03-06 17:58:11 -0800 |
commit | da5b86ea3618affce69bc6058ce7af039d537277 (patch) | |
tree | 4c2ee20d13c184aac45e47d42ed6de66c4899f07 | |
parent | c7511e620a0db93998be1901bdf3efb7c137597f (diff) | |
download | fio-da5b86ea3618affce69bc6058ce7af039d537277.tar.gz |
Get rid of lockfile callback
We don't need it, since the option priorities take care of
ordering.
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | options.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -884,18 +884,6 @@ out: return ret; } -static int str_lockfile_cb(void *data, const char fio_unused *str) -{ - struct thread_data *td = data; - - if (td->files_index) { - log_err("fio: lockfile= option must precede filename=\n"); - return 1; - } - - return 0; -} - static int str_opendir_cb(void *data, const char fio_unused *str) { struct thread_data *td = data; @@ -1343,7 +1331,6 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .parent = "filename", .hide = 0, .def = "none", - .cb = str_lockfile_cb, .category = FIO_OPT_C_FILE, .group = FIO_OPT_G_FILENAME, .posval = { |