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

gcc: adding const

This commit is contained in:
Zdenek Kabelac 2021-03-10 21:58:57 +01:00
parent d7bb23dd15
commit a654148b76
2 changed files with 2 additions and 2 deletions

View File

@ -1659,7 +1659,7 @@ struct lv_list *find_lv_in_lv_list(const struct dm_list *ll,
return NULL;
}
struct logical_volume *find_lv_in_vg_by_lvid(struct volume_group *vg,
struct logical_volume *find_lv_in_vg_by_lvid(const struct volume_group *vg,
const union lvid *lvid)
{
struct lv_list *lvl;

View File

@ -393,7 +393,7 @@ uint32_t vg_bad_status_bits(const struct volume_group *vg, uint64_t status);
int add_pv_to_vg(struct volume_group *vg, const char *pv_name,
struct physical_volume *pv, int new_pv);
struct logical_volume *find_lv_in_vg_by_lvid(struct volume_group *vg,
struct logical_volume *find_lv_in_vg_by_lvid(const struct volume_group *vg,
const union lvid *lvid);
struct lv_list *find_lv_in_lv_list(const struct dm_list *ll,