summaryrefslogtreecommitdiffstats
path: root/fs/ext4/page-io.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-01 09:40:10 -0400
committerJens Axboe <axboe@fb.com>2016-11-01 11:43:26 -0400
commit70fd76140a6cb63262bd47b68d57b42e889c10ee (patch)
tree0590b2ef1b89b6af6abb8da9d23d5d87991d74c8 /fs/ext4/page-io.c
parenta2b809672ee6fcb4d5756ea815725b3dbaea654e (diff)
block,fs: use REQ_* flags directly
Remove the WRITE_* and READ_SYNC wrappers, and just use the flags directly. Where applicable this also drops usage of the bio_set_op_attrs wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r--fs/ext4/page-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 0094923e5ebf..e0b3b54cdef3 100644
--- a/fs/ext4/page-io.c
+++ b/fs/ext4/page-io.c
@@ -340,7 +340,7 @@ void ext4_io_submit(struct ext4_io_submit *io)
340 340
341 if (bio) { 341 if (bio) {
342 int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ? 342 int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ?
343 WRITE_SYNC : 0; 343 REQ_SYNC : 0;
344 bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags); 344 bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags);
345 submit_bio(io->io_bio); 345 submit_bio(io->io_bio);
346 } 346 }