aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r--drivers/md/raid1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index 5d88329e3c7a..b65b8cfbdf30 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -1789,6 +1789,11 @@ static int run(mddev_t *mddev)
1789 mdname(mddev), mddev->level); 1789 mdname(mddev), mddev->level);
1790 goto out; 1790 goto out;
1791 } 1791 }
1792 if (mddev->reshape_position != MaxSector) {
1793 printk("raid1: %s: reshape_position set but not supported\n",
1794 mdname(mddev));
1795 goto out;
1796 }
1792 /* 1797 /*
1793 * copy the already verified devices into our private RAID1 1798 * copy the already verified devices into our private RAID1
1794 * bookkeeping area. [whatever we allocate in run(), 1799 * bookkeeping area. [whatever we allocate in run(),