diff options
author | Alasdair G Kergon <agk@redhat.com> | 2015-09-22 19:04:12 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-09-22 19:04:12 +0100 |
commit | 214e2cddf639e4b5a610e34ac24dbe2fd4618fb6 (patch) | |
tree | ce58d96eb26a3c2da199ca3111489fe00f99c8f8 /lib/cache_segtype | |
parent | 0ce150280ed703aad27f8d5c37db02dfa63da382 (diff) | |
download | lvm2-214e2cddf639e4b5a610e34ac24dbe2fd4618fb6.tar.gz |
segtypes: Use SEG_TYPE_NAME_ string constants.
Diffstat (limited to 'lib/cache_segtype')
-rw-r--r-- | lib/cache_segtype/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c index 85cba1828..733c33022 100644 --- a/lib/cache_segtype/cache.c +++ b/lib/cache_segtype/cache.c @@ -420,7 +420,7 @@ int init_cache_segtypes(struct cmd_context *cmd, return 0; } - segtype->name = "cache-pool"; + segtype->name = SEG_TYPE_NAME_CACHE_POOL; segtype->flags = SEG_CACHE_POOL | SEG_CANNOT_BE_ZEROED | SEG_ONLY_EXCLUSIVE; segtype->ops = &_cache_pool_ops; @@ -434,7 +434,7 @@ int init_cache_segtypes(struct cmd_context *cmd, return 0; } - segtype->name = "cache"; + segtype->name = SEG_TYPE_NAME_CACHE; segtype->flags = SEG_CACHE | SEG_ONLY_EXCLUSIVE; segtype->ops = &_cache_ops; |