mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
gcc: adding const
This commit is contained in:
parent
d7bb23dd15
commit
a654148b76
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user