diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-04-14 13:50:56 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-04-14 13:50:56 +0200 |
commit | 67c457a8c378a006a34d92f9bd3078a80a92f250 (patch) | |
tree | 63028e792b62fa42724507b86acded4da356c185 /fs/jbd2/commit.c | |
parent | ext4: really print the find_group_flex fallback warning only once (diff) | |
download | linux-67c457a8c378a006a34d92f9bd3078a80a92f250.tar.xz linux-67c457a8c378a006a34d92f9bd3078a80a92f250.zip |
jbd2: use SWRITE_SYNC_PLUG when writing synchronous revoke records
The revoke records must be written using the same way as the rest of
the blocks during the commit process; that is, either marked as
synchronous writes or as asynchornous writes.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 073c8c3df7cd..0b7d3b8226fd 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -506,7 +506,8 @@ void jbd2_journal_commit_transaction(journal_t *journal) if (err) jbd2_journal_abort(journal, err); - jbd2_journal_write_revoke_records(journal, commit_transaction); + jbd2_journal_write_revoke_records(journal, commit_transaction, + write_op); jbd_debug(3, "JBD: commit phase 2\n"); |