[PATCH] fixing the comment in mm/filemap.c

From: Kirill Kuvaldin
Date: Wed Jul 11 2007 - 08:19:24 EST


Seems that generic_file_write is no longer available, and
generic_file_buffered_write should be referred instead.
This makes the comment consistent.

Signed-off-by: Kirill Kuvaldin <kuvkir@xxxxxxxxx>

diff --git a/mm/filemap.c b/mm/filemap.c
index edb1b0b..0a8b71e 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1846,7 +1846,7 @@ EXPORT_SYMBOL(read_cache_page);
/*
* If the page was newly created, increment its refcount and add it to the
* caller's lru-buffering pagevec. This function is specifically for
- * generic_file_write().
+ * generic_file_buffered_write().
*/
static inline struct page *
__grab_cache_page(struct address_space *mapping, unsigned long index,
-
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/