mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Use const config node
This commit is contained in:
parent
7ce5ac0f03
commit
3f329bd02c
@ -71,7 +71,7 @@ static int _striped_text_import_area_count(struct config_node *sn, uint32_t *are
|
|||||||
static int _striped_text_import(struct lv_segment *seg, const struct config_node *sn,
|
static int _striped_text_import(struct lv_segment *seg, const struct config_node *sn,
|
||||||
struct dm_hash_table *pv_hash)
|
struct dm_hash_table *pv_hash)
|
||||||
{
|
{
|
||||||
struct config_node *cn;
|
const struct config_node *cn;
|
||||||
|
|
||||||
if ((seg->area_count != 1) &&
|
if ((seg->area_count != 1) &&
|
||||||
!get_config_uint32(sn, "stripe_size", &seg->stripe_size)) {
|
!get_config_uint32(sn, "stripe_size", &seg->stripe_size)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user