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) int sync_req; int nospares = 0; + if (mddev->external) + return; repeat: spin_lock_irq(&mddev->write_lock);