1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

cov: happier with defined extent_size

Set extent_size with != 0 value so there is not division by 0
in any code path.
This commit is contained in:
Zdenek Kabelac 2021-03-09 19:28:24 +01:00
parent 94712e3233
commit 6097dfb9ad

View File

@ -4006,6 +4006,7 @@ static int _process_duplicate_pvs(struct cmd_context *cmd,
};
struct volume_group dummy_vg = {
.extent_size = 1,
.fid = &dummy_fid,
.name = "",
.system_id = (char *) "",