From 3e9ae3047d1d0cfc5059b658202bef07cffe0f4b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 11 Oct 2017 08:25:10 -0600 Subject: [PATCH] engines/windowsaio: style Don't use braces for a single line block. Signed-off-by: Jens Axboe --- engines/windowsaio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.25.1