Messages in this thread Patch in this message | | | Date | Mon, 14 Nov 2005 21:54:38 GMT | From | David Howells <> | Subject | [PATCH 7/12] FS-Cache: Export a couple of VM functions |
| |
The attached patch exports a couple of VM functions needed by CacheFS.
Signed-Off-By: David Howells <dhowells@redhat.com> --- 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 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/
| |