[PATCH]: reiser4 [5/8] export remove_from_page_cache()

Nikita Danilov (Nikita@Namesys.COM)
Thu, 31 Oct 2002 19:03:03 +0300


Hello, Linus,

Following patch exports remove_from_page_cache(). reiser4 stores all
meta-data in the page cache. When piece of meta-data is removed,
corresponding page has to be removed from the page cache (this is
similar to truncate, but for meta-data), explicit call to
remove_from_page_cache() is required at this point.

Please apply.
Nikita.
diff -rup -X dontdiff linus-bk-2.5/mm/filemap.c linux-2.5-reiser4/mm/filemap.c
--- linus-bk-2.5/mm/filemap.c Fri Oct 18 03:00:41 2002
+++ linux-2.5-reiser4/mm/filemap.c Tue Oct 29 17:16:22 2002
@@ -97,6 +97,7 @@ void remove_from_page_cache(struct page
__remove_from_page_cache(page);
write_unlock(&mapping->page_lock);
}
+EXPORT_SYMBOL(remove_from_page_cache);

static inline int sync_page(struct page *page)
{
-
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/