]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix __filemap_fdatawrite() comment
authorAndrew Morton <akpm@osdl.org>
Sun, 8 Feb 2004 01:41:59 +0000 (17:41 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 8 Feb 2004 01:41:59 +0000 (17:41 -0800)
It was old.

mm/filemap.c

index b57186d5e187110c394f9454f19a499f826f09d6..4c457c718065fd8407271766301115bb8001d067 100644 (file)
@@ -129,10 +129,10 @@ static inline int sync_page(struct page *page)
  * filemap_fdatawrite - start writeback against all of a mapping's dirty pages
  * @mapping: address space structure to write
  *
- * This is a "data integrity" operation, as opposed to a regular memory
- * cleansing writeback.  The difference between these two operations is that
- * if a dirty page/buffer is encountered, it must be waited upon, and not just
- * skipped over.
+ * If sync_mode is WB_SYNC_ALL then this is a "data integrity" operation, as
+ * opposed to a regular memory * cleansing writeback.  The difference between
+ * these two operations is that if a dirty page/buffer is encountered, it must
+ * be waited upon, and not just skipped over.
  */
 static int __filemap_fdatawrite(struct address_space *mapping, int sync_mode)
 {