From: Jens Axboe Date: Wed, 11 Oct 2017 14:25:10 +0000 (-0600) Subject: engines/windowsaio: style X-Git-Tag: fio-3.2~43 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3e9ae3047d1d0cfc5059b658202bef07cffe0f4b;p=fio.git engines/windowsaio: style Don't use braces for a single line block. Signed-off-by: Jens Axboe --- diff --git a/engines/windowsaio.c b/engines/windowsaio.c index 2b12ddd0..a66b1df4 100644 --- a/engines/windowsaio.c +++ b/engines/windowsaio.c @@ -240,9 +240,8 @@ static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f) /* If we're going to use direct I/O, Windows will try and invalidate * its cache at that point so there's no need to do it here */ - if (td->o.invalidate_cache && !td->o.odirect) { + if (td->o.invalidate_cache && !td->o.odirect) windowsaio_invalidate_cache(f); - } f->hFile = CreateFile(f->file_name, access, sharemode, NULL, openmode, flags, NULL);