Change the option from NoUpdate to NodeNumUpdate
Actually, we need to use NodeNumUpdate here to ensure there are enough spaces for those nodes. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
parent
0c79d8ca10
commit
81306e021e
2
Grow.c
2
Grow.c
|
@ -425,7 +425,7 @@ int Grow_addbitmap(char *devname, int fd, struct context *c, struct shape *s)
|
|||
bitmapsize, offset_setable,
|
||||
major)
|
||||
)
|
||||
st->ss->write_bitmap(st, fd2, NoUpdate);
|
||||
st->ss->write_bitmap(st, fd2, NodeNumUpdate);
|
||||
else {
|
||||
pr_err("failed to create internal bitmap - chunksize problem.\n");
|
||||
close(fd2);
|
||||
|
|
Loading…
Reference in New Issue