X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Ffio-engine-mmap.c;h=d203d6afc40db3d4ccca1cbcdbdaff4f94c22aab;hp=0c79752ff17c3c61c33b2fc01a715b471f531566;hb=7a16dd027f83d7ff8ff0e72bb6bb12fae046fcbf;hpb=0ab8db8943acc6b9ea778735563bfad2a79e8ddd diff --git a/engines/fio-engine-mmap.c b/engines/fio-engine-mmap.c index 0c79752f..d203d6af 100644 --- a/engines/fio-engine-mmap.c +++ b/engines/fio-engine-mmap.c @@ -67,7 +67,8 @@ static int fio_mmapio_queue(struct thread_data *td, struct io_u *io_u) return io_u->error; } -static int fio_mmapio_sync(struct thread_data *td, struct fio_file *f) +static int fio_mmapio_sync(struct thread_data fio_unused *td, + struct fio_file *f) { return msync(f->mmap, f->file_size, MS_SYNC); }