diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-04-29 13:22:10 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-04-30 10:26:29 +0200 |
commit | 675fcfe9b7f5d624f8b9e45bc61869ef0ff830b5 (patch) | |
tree | b2ac8bbd5e5bccf22995b60a2d17906a5e14bd7d | |
parent | 905d4cda7ae17aa1eb8f8d0e85b9d577e650bb60 (diff) | |
download | lvm2-675fcfe9b7f5d624f8b9e45bc61869ef0ff830b5.tar.gz |
devmapper: fix compilation without devmapper
Fix compilation when configured with --disable-devmapper option.
-rw-r--r-- | lib/activate/activate.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/activate/activate.c b/lib/activate/activate.c index a7ec751b2..6a9dd0a23 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -200,7 +200,7 @@ int lv_passes_auto_activation_filter(struct cmd_context *cmd, struct logical_vol } #ifndef DEVMAPPER_SUPPORT -void set_activation(int act) +void set_activation(int act, int silent) { static int warned = 0; @@ -282,15 +282,15 @@ int lv_raid_message(const struct logical_volume *lv, const char *msg) { return 0; } -int lv_cache_block_info(const struct logical_volume *lv, +int lv_cache_block_info(struct logical_volume *lv, uint32_t *chunk_size, uint64_t *dirty_count, uint64_t *used_count, uint64_t *total_count) { return 0; } -int lv_cache_policy_info(const struct logical_volume *lv, - char **policy_name, int *policy_argc, - const char *const **policy_argv) +int lv_cache_policy_info(struct logical_volume *lv, + const char **policy_name, int *policy_argc, + const char ***policy_argv) { return 0; } @@ -309,6 +309,10 @@ int lv_thin_pool_transaction_id(const struct logical_volume *lv, { return 0; } +int lv_thin_device_id(const struct logical_volume *lv, uint32_t *device_id) +{ + return 0; +} int lvs_in_vg_activated(const struct volume_group *vg) { return 0; |