jbd: 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>
This commit is contained in:
parent
67c457a8c3
commit
38d726d153
3 changed files with 14 additions and 11 deletions
|
@ -502,7 +502,7 @@ void journal_commit_transaction(journal_t *journal)
|
|||
err = 0;
|
||||
}
|
||||
|
||||
journal_write_revoke_records(journal, commit_transaction);
|
||||
journal_write_revoke_records(journal, commit_transaction, write_op);
|
||||
|
||||
/*
|
||||
* If we found any dirty or locked buffers, then we should have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue