From 477a6d45a3c7c6e9f538cadba78468b677829e17 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 2 Sep 2010 13:22:56 +0200 Subject: [PATCH] Fix libaio prep Signed-off-by: Jens Axboe --- engines/libaio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/engines/libaio.c b/engines/libaio.c index 44b7dfa7..44a76139 100644 --- a/engines/libaio.c +++ b/engines/libaio.c @@ -34,8 +34,6 @@ static int fio_libaio_prep(struct thread_data fio_unused *td, struct io_u *io_u) io_prep_pwrite(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset); else if (ddir_sync(io_u->ddir)) io_prep_fsync(&io_u->iocb, f->fd); - else - return 1; return 0; } -- 2.25.1