[Fwd: [PATCH] clear_page_dirty_for_io.patch]

From: Hans Reiser
Date: Wed Nov 16 2005 - 04:04:09 EST



--- Begin Message --- This is a request to make clear_page_dirty_for_io() EXPORT_SYMBOL. 2.6.14 has it
exported. So, there is nothing wrong in asking to EXPORT_SYMBOL it back.

From: Vladimir V. Saveliev <vs@xxxxxxxxxxx>

This patch makes clear_page_dirty_for_io to be EXTERN_SYMBOL.

Signed-off-by: Vladimir V. Saveliev <vs@xxxxxxxxxxx>


mm/page-writeback.c | 2 ++
1 files changed, 2 insertions(+)

diff -puN mm/page-writeback.c~export-clear_page_dirty_for_io mm/page-writeback.c
--- linux-2.6.14-mm2/mm/page-writeback.c~export-clear_page_dirty_for_io 2005-11-14 18:33:38.000000000 +0300
+++ linux-2.6.14-mm2-vs/mm/page-writeback.c 2005-11-14 18:34:17.000000000 +0300
@@ -751,6 +751,8 @@ int clear_page_dirty_for_io(struct page
return TestClearPageDirty(page);
}

+EXPORT_SYMBOL(clear_page_dirty_for_io);
+
int test_clear_page_writeback(struct page *page)
{
struct address_space *mapping = page_mapping(page);

_

--- End Message ---