Skip to contentSkip to conversation

Fix some comments error in writeback subsystem

PATCH New Wanpeng Li 1 participant 1 message Jun 9, 2012 VFS

lore
Share & tools
lore

Wanpeng Li

author
#0 lore raw

PATCH 1/1 Fix some comments error in writeback subsystem

From: Wanpeng Li <[email protected]>

---
 fs/fs-writeback.c |    4 ++--
 fs/super.c        |    2 +-
 fs/sync.c         |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
fs/fs-writeback.c +2 -2
index 8d2fb8c..d462fe7 100644
@@ -628,8 +628,8 @@ static long writeback_sb_inodes(struct super_block *sb,
 		}
 
 		/*
-		 * Don't bother with new inodes or inodes beeing freed, first
-		 * kind does not need peridic writeout yet, and for the latter
+		 * Don't bother with new inodes or inodes being freed, first
+		 * kind does not need periodic writeout yet, and for the latter
 		 * kind writeout is handled by the freer.
 		 */
 		spin_lock(&inode->i_lock);
fs/super.c +1 -1
index cf00177..3d65443 100644
@@ -318,7 +318,7 @@ static int grab_super(struct super_block *s) __releases(sb_lock)
 
 /*
  *	grab_super_passive - acquire a passive reference
- *	@s: reference we are trying to grab
+ *	@sb: reference we are trying to grab
  *
  *	Tries to acquire a passive reference. This is used in places where we
  *	cannot take an active reference but we need to ensure that the
fs/sync.c +1 -1
index 11e3d1c..1830704 100644
@@ -92,7 +92,7 @@ static void sync_filesystems(int wait)
 }
 
 /*
- * sync everything.  Start out by waking pdflush, because that writes back
+ * sync everything.  Start out by waking flusher, because that writes back
  * all queues in parallel.
  */
 SYSCALL_DEFINE0(sync)
Signature · 1 line
1.7.9.5