mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
thin: accept const struct
This commit is contained in:
parent
de3abfa622
commit
95b1af7280
@ -672,7 +672,7 @@ int lv_rename_update(struct cmd_context *cmd, struct logical_volume *lv,
|
|||||||
uint64_t extents_from_size(struct cmd_context *cmd, uint64_t size,
|
uint64_t extents_from_size(struct cmd_context *cmd, uint64_t size,
|
||||||
uint32_t extent_size);
|
uint32_t extent_size);
|
||||||
|
|
||||||
struct logical_volume *find_pool_lv(struct logical_volume *lv);
|
struct logical_volume *find_pool_lv(const struct logical_volume *lv);
|
||||||
int pool_is_active(const struct logical_volume *pool_lv);
|
int pool_is_active(const struct logical_volume *pool_lv);
|
||||||
int pool_can_resize_metadata(const struct logical_volume *pool_lv);
|
int pool_can_resize_metadata(const struct logical_volume *pool_lv);
|
||||||
int update_pool_lv(struct logical_volume *lv, int activate);
|
int update_pool_lv(struct logical_volume *lv, int activate);
|
||||||
|
@ -392,7 +392,7 @@ struct lv_segment *find_pool_seg(const struct lv_segment *seg)
|
|||||||
return pool_seg;
|
return pool_seg;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct logical_volume *find_pool_lv(struct logical_volume *lv)
|
struct logical_volume *find_pool_lv(const struct logical_volume *lv)
|
||||||
{
|
{
|
||||||
struct lv_segment *seg;
|
struct lv_segment *seg;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user