summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-02-23 05:07:30 +0100
committerTheodore Ts'o <tytso@mit.edu>2016-02-23 05:07:30 +0100
commit9bcf976cb8b86eb40e0c0b495a14e4cb967b9c6e (patch)
tree96a20bb05e28fc973bd8112720a668bdeb6428bf /fs/jbd2/commit.c
parentext4: trim unused parameter from convert_initialized_extent() (diff)
downloadlinux-9bcf976cb8b86eb40e0c0b495a14e4cb967b9c6e.tar.xz
linux-9bcf976cb8b86eb40e0c0b495a14e4cb967b9c6e.zip
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>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 36345fefa3ff..ae4402d15d46 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -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");