1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

Remove const modifier for struct volume_group* from process_each_lv_in_vg().

Content of this pointer is not const during this function.
This commit is contained in:
Zdenek Kabelac 2010-03-23 14:24:04 +00:00
parent fd817ff34a
commit 7b45e46aa3
3 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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,

View File

@ -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,