aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index e8d198da917c..266e82ebaf11 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -741,8 +741,8 @@ static void mddev_unlock(struct mddev * mddev)
741 } else 741 } else
742 mutex_unlock(&mddev->reconfig_mutex); 742 mutex_unlock(&mddev->reconfig_mutex);
743 743
744 /* was we've dropped the mutex we need a spinlock to 744 /* As we've dropped the mutex we need a spinlock to
745 * make sur the thread doesn't disappear 745 * make sure the thread doesn't disappear
746 */ 746 */
747 spin_lock(&pers_lock); 747 spin_lock(&pers_lock);
748 md_wakeup_thread(mddev->thread); 748 md_wakeup_thread(mddev->thread);