summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/jbd2/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 25d373fac2f2..1ebf2393bfb7 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -1429,7 +1429,7 @@ static int journal_revoke_records_per_block(journal_t *journal)
static int jbd2_journal_get_max_txn_bufs(journal_t *journal)
{
- return (journal->j_total_len - journal->j_fc_wbufsize) / 4;
+ return (journal->j_total_len - journal->j_fc_wbufsize) / 3;
}
/*