Skip to contentSkip to conversation

writeback: fix typo in the writeback_control comment

PATCH New Fengguang Wu 1 participant 2 messages Mar 5, 2012

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

PATCH 1/1 writeback: fix typo in the writeback_control comment

From: Andrew Morton <[email protected]>

---
 include/linux/writeback.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/writeback.h +1 -1
@@ -64,7 +64,7 @@ struct writeback_control {
 	long pages_skipped;		/* Pages which were not written */
 
 	/*
-	 * For a_ops->writepages(): is start or end are non-zero then this is
+	 * For a_ops->writepages(): if start or end are non-zero then this is
 	 * a hint that the filesystem need only write out the pages inside that
 	 * byterange.  The byte at `end' is included in the writeout request.
 	 */
#1 lore raw

PATCH 1/1 writeback: fix typo in writeback_inodes_sb_nr_if_idle() comment header

---
 fs/fs-writeback.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +1 -1
@@ -1548,17 +1548,17 @@ int writeback_inodes_sb_if_idle(struct s
 		up_read(&sb->s_umount);
 		return 1;
 	} else
 		return 0;
 }
 EXPORT_SYMBOL(writeback_inodes_sb_if_idle);
 
 /**
- * writeback_inodes_sb_if_idle	-	start writeback if none underway
+ * writeback_inodes_sb_nr_if_idle	-	start writeback if none underway
  * @sb: the superblock
  * @nr: the number of pages to write
  * @reason: reason why some writeback work was initiated
  *
  * Invoke writeback_inodes_sb if no writeback is currently underway.
  * Returns 1 if writeback was started, 0 if not.
  */
 int writeback_inodes_sb_nr_if_idle(struct super_block *sb,