diff options
author | NeilBrown <neilb@suse.de> | 2009-11-16 11:06:44 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-11-16 11:06:44 +1100 |
commit | 14e5b4d72b4db55e688581d98ec47131554f747c (patch) | |
tree | 269f775d2e1303c4f0047a50789038f0154721b1 /Grow.c | |
parent | 9ce510be9c71bae002a3b68ad138b164c908150a (diff) |
Grow: data_offset is in sectors, offsets[] is in bytes - convert
Another missed sectors->bytes conversion.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Grow.c')
-rw-r--r-- | Grow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1763,7 +1763,7 @@ int Grow_restart(struct supertype *st, struct mdinfo *info, int *fdlist, int cnt continue; st->ss->getinfo_super(st, &dinfo); st->ss->free_super(st); - offsets[j] = dinfo.data_offset; + offsets[j] = dinfo.data_offset * 512; } printf(Name ": restoring critical section\n"); |