summaryrefslogtreecommitdiff
path: root/lib/striped
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2010-10-25 13:38:11 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2010-10-25 13:38:11 +0000
commit3f329bd02caeed8bcd8bbedb59eec0bd9c795701 (patch)
tree3aa89b95563b656aa00e606e107d2506119516c1 /lib/striped
parent7ce5ac0f037bb4748579043bf2e2f6d2c54f1824 (diff)
downloadlvm2-3f329bd02caeed8bcd8bbedb59eec0bd9c795701.tar.gz
Use const config node
Diffstat (limited to 'lib/striped')
-rw-r--r--lib/striped/striped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/striped/striped.c b/lib/striped/striped.c
index 01fbc1e39..44f977472 100644
--- a/lib/striped/striped.c
+++ b/lib/striped/striped.c
@@ -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,
struct dm_hash_table *pv_hash)
{
- struct config_node *cn;
+ const struct config_node *cn;
if ((seg->area_count != 1) &&
!get_config_uint32(sn, "stripe_size", &seg->stripe_size)) {