lkml.org 
[lkml]   [2002]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH]: reiser4 [5/8] export remove_from_page_cache()
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/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.075 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site