fio.h: also check trim operations in fio_ro_check
[fio.git] / engines / mtd.c
index 5f822fc1f52009c9b60aa8cd9bd18fd3d9186f35..b9f431643f6d182eb65f59c0287ee127360fea32 100644 (file)
@@ -71,7 +71,8 @@ static int fio_mtd_is_bad(struct thread_data *td,
        return ret;
 }
 
-static int fio_mtd_queue(struct thread_data *td, struct io_u *io_u)
+static enum fio_q_status fio_mtd_queue(struct thread_data *td,
+                                      struct io_u *io_u)
 {
        struct fio_file *f = io_u->file;
        struct fio_mtd_data *fmd = FILE_ENG_DATA(f);