change fio_set_odirect() prototype not to use int fd
[fio.git] / filesetup.c
index 4ceaef6b376716b2ffa0b77aa308e1d741e2c18a..c4240d2a8c9bb457ee2c92c9d5a3375a27885795 100644 (file)
@@ -1862,7 +1862,7 @@ void filesetup_mem_free(void)
 int fio_set_directio(struct thread_data *td, struct fio_file *f)
 {
 #ifdef FIO_OS_DIRECTIO
-       int ret = fio_set_odirect(f->fd);
+       int ret = fio_set_odirect(f);
 
        if (ret) {
                td_verror(td, ret, "fio_set_directio");