X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Ffalloc.c;h=6382569b9a92c42c1ad5d76a75d9441808de6cc8;hp=bb3ac85045b2f16fd650abe2c2081371acd6f2c1;hb=fc220349e45144360917db48010b503a9874930d;hpb=ec2ea18e87fad6c42d6875cd4ee1bb25ef9b4627 diff --git a/engines/falloc.c b/engines/falloc.c index bb3ac850..6382569b 100644 --- a/engines/falloc.c +++ b/engines/falloc.c @@ -65,8 +65,10 @@ open_again: #endif #ifndef FALLOC_FL_PUNCH_HOLE #define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */ -#endif -static int fio_fallocate_queue(struct thread_data *td, struct io_u *io_u) +#endif + +static enum fio_q_status fio_fallocate_queue(struct thread_data *td, + struct io_u *io_u) { struct fio_file *f = io_u->file; int ret;