--- /opt/kernel/linux-2.4.0-test11-pre5/fs/buffer.c Tue Nov 14 22:53:19 2000 +++ fs/buffer.c Fri Nov 17 01:09:55 2000 @@ -1534,7 +1534,7 @@ unsigned from, unsigned to) { unsigned block_start, block_end; - int partial = 0, need_balance_dirty = 0; + int partial = 0; unsigned blocksize; struct buffer_head *bh, *head; @@ -1549,15 +1549,11 @@ partial = 1; } else { set_bit(BH_Uptodate, &bh->b_state); - if (!atomic_set_buffer_dirty(bh)) { + if (!atomic_set_buffer_dirty(bh)) __mark_dirty(bh); - need_balance_dirty = 1; - } } } - if (need_balance_dirty) - balance_dirty(bh->b_dev); /* * is this a partial write that happened to make all buffers * uptodate then we can optimize away a bogus readpage() for