aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 11457a28a14c..61767f1962eb 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1652,6 +1652,8 @@ static void md_update_sb(mddev_t * mddev, int force_change)
1652 int sync_req; 1652 int sync_req;
1653 int nospares = 0; 1653 int nospares = 0;
1654 1654
1655 if (mddev->external)
1656 return;
1655repeat: 1657repeat:
1656 spin_lock_irq(&mddev->write_lock); 1658 spin_lock_irq(&mddev->write_lock);
1657 1659