]> err.no Git - linux-2.6/blobdiff - fs/reiserfs/journal.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / fs / reiserfs / journal.c
index 47c9f432dea5da6d8830ae2a8cf29178e8279c24..b7a179560ab40a2a137754780d7a46c8784addd3 100644 (file)
@@ -2823,6 +2823,9 @@ int journal_transaction_should_end(struct reiserfs_transaction_handle *th,
            journal->j_cnode_free < (journal->j_trans_max * 3)) {
                return 1;
        }
+       /* protected by the BKL here */
+       journal->j_len_alloc += new_alloc;
+       th->t_blocks_allocated += new_alloc ;
        return 0;
 }