X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fmtd.c;h=b9f431643f6d182eb65f59c0287ee127360fea32;hb=44f668d7ba3d82c1218951b8c9ed058bedb89e17;hp=b4a660041cf1c9ecf2210e9387aef3e38d9b47da;hpb=d4a507c17533f05bcf6d6eeb8d00f3dad1a020a1;p=fio.git diff --git a/engines/mtd.c b/engines/mtd.c index b4a66004..b9f43164 100644 --- a/engines/mtd.c +++ b/engines/mtd.c @@ -4,17 +4,14 @@ * IO engine that reads/writes from MTD character devices. * */ -#include #include #include -#include #include #include #include #include "../fio.h" #include "../optgroup.h" -#include "../verify.h" #include "../oslib/libmtd.h" static libmtd_t desc; @@ -74,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);