The attached patch exports a couple of VM functions needed by CacheFS.
Signed-Off-By: David Howells <[email protected]>
---
warthog>diffstat -p1 exports-2614mm2.diff
mm/page-writeback.c | 1 +
mm/swap.c | 2 ++
2 files changed, 3 insertions(+)
diff -uNrp linux-2.6.14-mm2/mm/page-writeback.c linux-2.6.14-mm2-cachefs/mm/page-writeback.c
--- linux-2.6.14-mm2/mm/page-writeback.c 2005-11-14 16:18:00.000000000 +0000
+++ linux-2.6.14-mm2-cachefs/mm/page-writeback.c 2005-11-14 16:23:46.000000000 +0000
@@ -750,6 +750,7 @@ int clear_page_dirty_for_io(struct page
}
return TestClearPageDirty(page);
}
+EXPORT_SYMBOL_GPL(clear_page_dirty_for_io);
int test_clear_page_writeback(struct page *page)
{
diff -uNrp linux-2.6.14-mm2/mm/swap.c linux-2.6.14-mm2-cachefs/mm/swap.c
--- linux-2.6.14-mm2/mm/swap.c 2005-11-14 16:18:00.000000000 +0000
+++ linux-2.6.14-mm2-cachefs/mm/swap.c 2005-11-14 16:23:46.000000000 +0000
@@ -149,6 +149,8 @@ void fastcall lru_cache_add(struct page
put_cpu_var(lru_add_pvecs);
}
+EXPORT_SYMBOL_GPL(lru_cache_add);
+
void fastcall lru_cache_add_active(struct page *page)
{
struct pagevec *pvec = &get_cpu_var(lru_add_active_pvecs);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]