mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
jbd2: remove unnecessary arguments of jbd2_journal_write_revoke_records
jbd2_journal_write_revoke_records() takes journal pointer and write_op, although journal can be obtained from the passed transaction and write_op is always WRITE_SYNC. Remove these superfluous arguments. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
@@ -554,8 +554,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
|
||||
jbd2_journal_abort(journal, err);
|
||||
|
||||
blk_start_plug(&plug);
|
||||
jbd2_journal_write_revoke_records(journal, commit_transaction,
|
||||
&log_bufs, WRITE_SYNC);
|
||||
jbd2_journal_write_revoke_records(commit_transaction, &log_bufs);
|
||||
|
||||
jbd_debug(3, "JBD2: commit phase 2b\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user