X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=engines%2Ffalloc.c;h=6382569b9a92c42c1ad5d76a75d9441808de6cc8;hb=d63a472d4b213533236ae9aab9cf9e0ec2854c31;hp=bb3ac85045b2f16fd650abe2c2081371acd6f2c1;hpb=3d2d14bcb844e72809192311369a642c5d415472;p=fio.git 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;