diff options
author | NeilBrown <neilb@suse.de> | 2009-08-13 11:12:54 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-08-13 11:12:54 +1000 |
commit | e9e43ec36756c50a5dabf6db52d9bebbccaaa72f (patch) | |
tree | ac201cf8558875cbb1d5091f985a6bb3053b4cf7 /super0.c | |
parent | 7236ee7ad4a15b0d800cfc1ccbcee78158a05ada (diff) |
Grow: support restart of new migrations.
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ static void examine_super0(struct supertype *st, char *homehost) printf(" Reshape pos'n : %llu%s\n", (unsigned long long)sb->reshape_position/2, human_size((long long)sb->reshape_position<<9)); if (sb->delta_disks) { printf(" Delta Devices : %d", sb->delta_disks); - if (sb->delta_disks) + if (sb->delta_disks > 0) printf(" (%d->%d)\n", sb->raid_disks-sb->delta_disks, sb->raid_disks); else printf(" (%d->%d)\n", sb->raid_disks, sb->raid_disks+sb->delta_disks); |