Re: ramfs problem... (unlink of sparse file in "D" state)

Chris Mason (mason@suse.com)
Mon, 08 Jan 2001 10:37:38 -0500


On Monday, January 08, 2001 09:02:46 AM -0500 Alexander Viro
<viro@math.psu.edu> wrote:

> Alan, consider applying the patch below.
> Contents:
[snip]
> + do {
> + if (buffer_mapped(bh)) {
> + bh->b_end_io = end_buffer_io_async;
> + atomic_inc(&bh->b_count);
> + set_bit(BH_Uptodate, &bh->b_state);
> + set_bit(BH_Dirty, &bh->b_state);
> + submit_bh(WRITE, bh);
> + }
> + bh = bh->b_this_page;
> + }
^^^^^^^^^^^^^

This doesn't look right...

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/