Skip to contentSkip to conversation

fixing the comment in mm/filemap.c

PATCH New Kirill Kuvaldin 1 participant 1 message Jul 11, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixing the comment in mm/filemap.c

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

mm/filemap.c +1 -1
index edb1b0b..0a8b71e 100644
@@ -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,