Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 3 Apr 2001 22:18:25 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: Linux 2.4.3-ac2 |
| |
Alan, please, replace the unmap_buffer() in fs/buffer.c with
static void unmap_buffer(struct buffer_head * bh) { if (buffer_mapped(bh)) { mark_buffer_clean(bh); lock_buffer(bh); clear_bit(BH_Uptodate, &bh->b_state); clear_bit(BH_Mapped, &bh->b_state); clear_bit(BH_Req, &bh->b_state); clear_bit(BH_New, &bh->b_state); unlock_buffer(bh); } } Current tree has wait_on_buffer() instead of lock/unlock, which is racey on SMP.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |