mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +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;
|
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)
|
const union lvid *lvid)
|
||||||
{
|
{
|
||||||
struct lv_list *lvl;
|
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,
|
int add_pv_to_vg(struct volume_group *vg, const char *pv_name,
|
||||||
struct physical_volume *pv, int new_pv);
|
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);
|
const union lvid *lvid);
|
||||||
|
|
||||||
struct lv_list *find_lv_in_lv_list(const struct dm_list *ll,
|
struct lv_list *find_lv_in_lv_list(const struct dm_list *ll,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user