diff options
| author | Christoph Hellwig <hch@lst.de> | 2016-11-01 09:40:07 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2016-11-01 11:43:26 -0400 |
| commit | 6f6b29171a192e84b666c816e49d2175afbbb09f (patch) | |
| tree | 13b6f316a9ff85b4b7a8d1317654484e53769153 /include/linux | |
| parent | 67f055c798c72c49ee0c844eae0cd6e9c83b1b16 (diff) | |
block: don't use REQ_SYNC in the READ_SYNC definition
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index e3e878f12b25..5e0078fceed7 100644 --- 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, | |||
| 196 | #define READ REQ_OP_READ | 196 | #define READ REQ_OP_READ |
| 197 | #define WRITE REQ_OP_WRITE | 197 | #define WRITE REQ_OP_WRITE |
| 198 | 198 | ||
| 199 | #define READ_SYNC REQ_SYNC | 199 | #define READ_SYNC 0 |
| 200 | #define WRITE_SYNC (REQ_SYNC | REQ_NOIDLE) | 200 | #define WRITE_SYNC (REQ_SYNC | REQ_NOIDLE) |
| 201 | #define WRITE_ODIRECT REQ_SYNC | 201 | #define WRITE_ODIRECT REQ_SYNC |
| 202 | #define WRITE_FLUSH (REQ_SYNC | REQ_NOIDLE | REQ_PREFLUSH) | 202 | #define WRITE_FLUSH (REQ_SYNC | REQ_NOIDLE | REQ_PREFLUSH) |
