mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
.
This commit is contained in:
parent
cda354087f
commit
87ec948433
@ -743,11 +743,11 @@ static int _add_error_area(struct dev_manager *dm, struct dm_tree_node *node,
|
|||||||
return_0;
|
return_0;
|
||||||
dm_tree_node_add_target_area(node, NULL, dlid,
|
dm_tree_node_add_target_area(node, NULL, dlid,
|
||||||
extent_size * seg_le(seg, s));
|
extent_size * seg_le(seg, s));
|
||||||
} else {
|
} else
|
||||||
dm_tree_node_add_target_area(node,
|
dm_tree_node_add_target_area(node,
|
||||||
dm->cmd->stripe_filler,
|
dm->cmd->stripe_filler,
|
||||||
NULL, UINT64_C(0));
|
NULL, UINT64_C(0));
|
||||||
}
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ unsigned long dev_md_chunk_size(const char *sysfs_dir, struct device *dev)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_very_verbose("Found chunksize %u for md device %s.", chunk_size,
|
log_very_verbose("Found chunksize %lu for md device %s.", chunk_size,
|
||||||
dev_name(dev));
|
dev_name(dev));
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
@ -857,8 +857,8 @@ xx(vgreduce,
|
|||||||
"\tVolumeGroupName\n"
|
"\tVolumeGroupName\n"
|
||||||
"\t[PhysicalVolumePath...]\n",
|
"\t[PhysicalVolumePath...]\n",
|
||||||
|
|
||||||
all_ARG, autobackup_ARG, mirrorsonly_ARG, removemissing_ARG,
|
all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG,
|
||||||
force_ARG, test_ARG)
|
test_ARG)
|
||||||
|
|
||||||
xx(vgremove,
|
xx(vgremove,
|
||||||
"Remove volume group(s)",
|
"Remove volume group(s)",
|
||||||
|
Loading…
Reference in New Issue
Block a user