diff options
author | Jan Kara <jack@suse.cz> | 2016-02-23 05:07:30 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-02-23 05:07:30 +0100 |
commit | 9bcf976cb8b86eb40e0c0b495a14e4cb967b9c6e (patch) | |
tree | 96a20bb05e28fc973bd8112720a668bdeb6428bf /fs/jbd2/commit.c | |
parent | ext4: trim unused parameter from convert_initialized_extent() (diff) | |
download | linux-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.c | 3 |
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"); |