projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e8136d
)
engines/windowsaio: style
author
Jens Axboe
<axboe@kernel.dk>
Wed, 11 Oct 2017 14:25:10 +0000
(08:25 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 11 Oct 2017 14:25:10 +0000
(08:25 -0600)
Don't use braces for a single line block.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/windowsaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/windowsaio.c
b/engines/windowsaio.c
index 2b12ddd01f69c85258ee7739ff90ade6c038be91..a66b1df4ee1162e704d0360e5acba8de1c22bd27 100644
(file)
--- 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);