projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f055c
)
block: don't use REQ_SYNC in the READ_SYNC definition
author
Christoph Hellwig
<hch@lst.de>
Tue, 1 Nov 2016 13:40:07 +0000
(07:40 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 1 Nov 2016 15:43:26 +0000
(09:43 -0600)
Reads are synchronous per definition, don't add another flag for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/fs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index e3e878f12b2522d57f383fb999301f6569943ea9..5e0078fceed7980406d8e074969aad0b87736cc6 100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-196,7
+196,7
@@
typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
#define READ REQ_OP_READ
#define WRITE REQ_OP_WRITE
-#define READ_SYNC
REQ_SYNC
+#define READ_SYNC
0
#define WRITE_SYNC (REQ_SYNC | REQ_NOIDLE)
#define WRITE_ODIRECT REQ_SYNC
#define WRITE_FLUSH (REQ_SYNC | REQ_NOIDLE | REQ_PREFLUSH)