X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengines.c;h=a81c7b884b5df6352cca79d5e47bb5eae47b2973;hp=979ac28322fdff473b31dbda5a3240cced718324;hb=6977bcd0e4ee3faa7ffd8f208e4031bdf906ed88;hpb=24ffd2c2bca53f4de85ab6defd52a812be1f2429 diff --git a/ioengines.c b/ioengines.c index 979ac283..a81c7b88 100644 --- a/ioengines.c +++ b/ioengines.c @@ -344,7 +344,7 @@ err: return 1; } -void td_io_close_file(struct thread_data *td, struct fio_file *f) +int td_io_close_file(struct thread_data *td, struct fio_file *f) { if (!(f->flags & FIO_FILE_CLOSING)) log_file(td, f, FIO_LOG_CLOSE_FILE); @@ -354,5 +354,5 @@ void td_io_close_file(struct thread_data *td, struct fio_file *f) */ f->flags |= FIO_FILE_CLOSING; - put_file(td, f); + return put_file(td, f); }