Messages in this thread Patch in this message |  | | Date | Fri, 9 Nov 2001 10:38:24 +0100 (CET) | From | Adrian Bunk <> | Subject | Re: problem with kernel 2.4.14 drivers/block/loop.c mm/swap.c |
| |
On Thu, 8 Nov 2001, Michel Valin wrote:
> drivers/block/loop.c used by loopback filesystem code uses function > > deactivate_page that was defined in mm/swap.c in kernel 2.4.13 > > deactivate_page seems to have been suppressed at kernel level 2.4.14 > from > mm/swap.c >...
This is a known bug.
The following patch fixes it:
--- linux-2.4.14-broken/drivers/block/loop.c Thu Oct 25 13:58:34 2001 +++ linux-2.4.14/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;
cu Adrian
--
Get my GPG key: finger bunk@debian.org | gpg --import Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400
- 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/
|  |