Re: PROBLEM: compiling 2.4.14 fails in block.o (probably loopback)

Chris Wright (chris@wirex.com)
Fri, 16 Nov 2001 15:38:07 -0800


* Per-Olof Pettersson (peope@peope.net) wrote:
> [1.]
> compiling 2.4.14 fails in block.o (probably loopback)

this is a known problem (it's helpful to search the archives ;-).
to fix, apply the following patch:

cheers,
-chris

--- linux-2.4.14/drivers/block/loop.c Thu Oct 25 13:58:34 2001
+++ linux-2.4.14-loop/drivers/block/loop.c Mon Nov 5 17:06:08 2001
@@ -207,7 +207,6 @@
index++;
pos += size;
UnlockPage(page);
- deactivate_page(page);
page_cache_release(page);
}
return 0;
@@ -218,7 +217,6 @@
kunmap(page);
unlock:
UnlockPage(page);
- deactivate_page(page);
page_cache_release(page);
fail:
return -1;
-
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/