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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux