public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] writeback: fix typo in the writeback_control comment
@ 2012-03-05 23:06 Fengguang Wu
  2012-03-05 23:08 ` [PATCH] writeback: fix typo in writeback_inodes_sb_nr_if_idle() comment header Fengguang Wu
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-03-05 23:06 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Andrew Morton, LKML

From: Andrew Morton <akpm@linux-foundation.org> 

Signed-off-by: Andrew Morton <akpm@linux-foundation.org> 
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 include/linux/writeback.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux.orig/include/linux/writeback.h	2012-03-01 12:51:45.474351141 +0800
+++ linux/include/linux/writeback.h	2012-03-02 12:56:43.913665799 +0800
@@ -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.
 	 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] writeback: fix typo in writeback_inodes_sb_nr_if_idle() comment header
  2012-03-05 23:06 [PATCH] writeback: fix typo in the writeback_control comment Fengguang Wu
@ 2012-03-05 23:08 ` Fengguang Wu
  0 siblings, 0 replies; 2+ messages in thread
From: Fengguang Wu @ 2012-03-05 23:08 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: LKML

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 fs/fs-writeback.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux.orig/fs/fs-writeback.c	2012-03-01 22:15:30.753778139 -0800
+++ linux/fs/fs-writeback.c	2012-03-03 16:13:47.765894081 -0800
@@ -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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-05 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 23:06 [PATCH] writeback: fix typo in the writeback_control comment Fengguang Wu
2012-03-05 23:08 ` [PATCH] writeback: fix typo in writeback_inodes_sb_nr_if_idle() comment header Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox