summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 70078096117d..8f7d1339c973 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -155,9 +155,9 @@ static int journal_submit_commit_record(journal_t *journal,
155 155
156 if (journal->j_flags & JBD2_BARRIER && 156 if (journal->j_flags & JBD2_BARRIER &&
157 !jbd2_has_feature_async_commit(journal)) 157 !jbd2_has_feature_async_commit(journal))
158 ret = submit_bh(WRITE_SYNC | WRITE_FLUSH_FUA, bh); 158 ret = submit_bh(REQ_OP_WRITE, WRITE_SYNC | WRITE_FLUSH_FUA, bh);
159 else 159 else
160 ret = submit_bh(WRITE_SYNC, bh); 160 ret = submit_bh(REQ_OP_WRITE, WRITE_SYNC, bh);
161 161
162 *cbh = bh; 162 *cbh = bh;
163 return ret; 163 return ret;
@@ -718,7 +718,7 @@ start_journal_io:
718 clear_buffer_dirty(bh); 718 clear_buffer_dirty(bh);
719 set_buffer_uptodate(bh); 719 set_buffer_uptodate(bh);
720 bh->b_end_io = journal_end_buffer_io_sync; 720 bh->b_end_io = journal_end_buffer_io_sync;
721 submit_bh(WRITE_SYNC, bh); 721 submit_bh(REQ_OP_WRITE, WRITE_SYNC, bh);
722 } 722 }
723 cond_resched(); 723 cond_resched();
724 stats.run.rs_blocks_logged += bufs; 724 stats.run.rs_blocks_logged += bufs;