Skip to contentSkip to conversation

md.c: trivial comment fix

PATCH In review Chris Dunlop 2 participants 2 messages Oct 19, 2011 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md.c: trivial comment fix

Trivial comment fix

---
 drivers/md/md.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/md/md.c +2 -2
index 5c95ccb..1a9bbfc 100644
@@ -744,8 +744,8 @@ static void mddev_unlock(mddev_t * mddev)
 	} else
 		mutex_unlock(&mddev->reconfig_mutex);
 
-	/* was we've dropped the mutex we need a spinlock to
-	 * make sur the thread doesn't disappear
+	/* As we've dropped the mutex we need a spinlock to
+	 * make sure the thread doesn't disappear
 	 */
 	spin_lock(&pers_lock);
 	md_wakeup_thread(mddev->thread);
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 12 lines · On Wed, 19 Oct 2011 16:48:26 +1100 Chris Dunlop <[email protected]> wrote:

Trivial comment fix

---
 drivers/md/md.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/md/md.c +0 -0
index 5c95ccb..1a9bbfc 100644

drivers/md/md.c static void mddev_unlock(mddev_t * mddev) · line 751

Quoted 10 lines
drivers/md/md.c +2 -2
@@ -744,8 +744,8 @@ static void mddev_unlock(mddev_t * mddev)
 	} else
 		mutex_unlock(&mddev->reconfig_mutex);
 
-	/* was we've dropped the mutex we need a spinlock to
-	 * make sur the thread doesn't disappear
+	/* As we've dropped the mutex we need a spinlock to
+	 * make sure the thread doesn't disappear
 	 */
 	spin_lock(&pers_lock);
 	md_wakeup_thread(mddev->thread);

Thanks. Applied.

NeilBrown