[patch] mm: export cancel_dirty_page()

From: Ingo Molnar
Date: Thu Dec 21 2006 - 18:18:33 EST


From: Ingo Molnar <mingo@xxxxxxx>
Subject: [patch] export cancel_dirty_page()

export cancel_dirty_page() - it's used by hugetlbfs which can be
modular. (This makes my -git based kernel yum repository build again.)

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Index: linux/mm/truncate.c
===================================================================
--- linux.orig/mm/truncate.c
+++ linux/mm/truncate.c
@@ -65,6 +65,7 @@ void cancel_dirty_page(struct page *page
task_io_account_cancelled_write(account_size);
}
}
+EXPORT_SYMBOL(cancel_dirty_page);

/*
* If truncate cannot remove the fs-private metadata from the page, the page
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/