linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] md.c: trivial comment fix
@ 2011-10-19  5:48 Chris Dunlop
  2011-10-19  6:23 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Dunlop @ 2011-10-19  5:48 UTC (permalink / raw)
  To: linux-raid

Trivial comment fix

Signed-off-by: Chris Dunlop <chris@onthe.net.au>
---
 drivers/md/md.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/md/md.c b/drivers/md/md.c
index 5c95ccb..1a9bbfc 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -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);
-- 
1.7.0.4


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

* Re: [PATCH] md.c: trivial comment fix
  2011-10-19  5:48 [PATCH] md.c: trivial comment fix Chris Dunlop
@ 2011-10-19  6:23 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2011-10-19  6:23 UTC (permalink / raw)
  To: Chris Dunlop; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

On Wed, 19 Oct 2011 16:48:26 +1100 Chris Dunlop <chris@onthe.net.au> wrote:

> Trivial comment fix
> 
> Signed-off-by: Chris Dunlop <chris@onthe.net.au>
> ---
>  drivers/md/md.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 5c95ccb..1a9bbfc 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

end of thread, other threads:[~2011-10-19  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19  5:48 [PATCH] md.c: trivial comment fix Chris Dunlop
2011-10-19  6:23 ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).