1 Index: linux-2.4.19.SuSE/fs/jbd/transaction.c
2 ===================================================================
3 --- linux-2.4.19.SuSE.orig/fs/jbd/transaction.c Sun Nov 16 01:38:25 2003
4 +++ linux-2.4.19.SuSE/fs/jbd/transaction.c Sun Nov 16 01:44:26 2003
7 spin_lock(&journal_datalist_lock);
8 set_bit(BH_JBDDirty, &bh->b_state);
9 - set_buffer_flushtime(bh);
11 J_ASSERT_JH(jh, jh->b_transaction != NULL);
13 @@ -1995,6 +1994,13 @@
14 spin_unlock(&journal_datalist_lock);
17 +static void jbd_refile_buffer(struct buffer_head *bh)
19 + if (buffer_dirty(bh) && (bh->b_list != BUF_DIRTY))
20 + set_buffer_flushtime(bh);
25 * Remove a buffer from its current buffer list in preparation for
26 * dropping it from its current transaction entirely. If the buffer has
28 J_ASSERT_JH(jh, jh->b_transaction->t_state == T_RUNNING);
30 /* Onto BUF_DIRTY for writeback */
31 - refile_buffer(jh2bh(jh));
32 + jbd_refile_buffer(jh2bh(jh));