Grow: data_offset is in sectors, offsets[] is in bytes - convert
Another missed sectors->bytes conversion. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
9ce510be9c
commit
14e5b4d72b
2
Grow.c
2
Grow.c
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue