diff --git a/WHATS_NEW b/WHATS_NEW index 9a073b251..a4dad87ac 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.63 - ================================ + Remove const modifier for struct volume_group* from process_each_lv_in_vg(). Don't allow resizing of internal logical volumes. Fix libdevmapper-event pkgconfig version string to match libdevmapper. Avoid scanning all pvs in the system if operating on a device with mdas. diff --git a/tools/toollib.c b/tools/toollib.c index efe870c45..547016928 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -83,7 +83,7 @@ char *skip_dev_dir(struct cmd_context *cmd, const char *vg_name, * Metadata iteration functions */ int process_each_lv_in_vg(struct cmd_context *cmd, - const struct volume_group *vg, + struct volume_group *vg, const struct dm_list *arg_lvnames, const struct dm_list *tags, void *handle, diff --git a/tools/toollib.h b/tools/toollib.h index 4743fd597..d284de416 100644 --- a/tools/toollib.h +++ b/tools/toollib.h @@ -76,7 +76,7 @@ typedef int (*process_single_lv_fn_t) (struct cmd_context *cmd, void *handle); int process_each_lv_in_vg(struct cmd_context *cmd, - const struct volume_group *vg, + struct volume_group *vg, const struct dm_list *arg_lvnames, const struct dm_list *tags, void *handle,