projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reduntant write bit checks
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 6ccd357ec4f5d0b9dde6cb92d2691139eeb2aa34..faeefaf308fa3e32107375fed6ac68faf65fe594 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-222,7
+222,7
@@
int generic_open_file(struct thread_data *td, struct fio_file *f)
if (td->o.sync_io)
flags |= O_SYNC;
- if (td_write(td)
|| td_rw(td)
) {
+ if (td_write(td)) {
flags |= O_RDWR;
if (f->filetype == FIO_TYPE_FILE)