2 --- linux-2.4.18/fs/jbd/commit.c~jbd-dont-account-blocks-twice Mon Jul 28 13:52:05 2003
3 +++ linux-2.4.18-alexey/fs/jbd/commit.c Mon Jul 28 14:03:53 2003
4 @@ -407,6 +407,11 @@ sync_datalist_empty:
8 + /* start_this_handle() accounts t_outstanding_credits
9 + * to know free space in log, but this counter is changed
10 + * by journal_next_log_block() also. */
11 + commit_transaction->t_outstanding_credits--;
13 /* Bump b_count to prevent truncate from stumbling over
14 the shadowed buffer! @@@ This can go if we ever get
15 rid of the BJ_IO/BJ_Shadow pairing of buffers. */