1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

devmapper: fix compilation without devmapper

Fix compilation when configured with --disable-devmapper option.
This commit is contained in:
Zdenek Kabelac 2014-04-29 13:22:10 +02:00
parent 905d4cda7a
commit 675fcfe9b7

View File

@ -200,7 +200,7 @@ int lv_passes_auto_activation_filter(struct cmd_context *cmd, struct logical_vol
} }
#ifndef DEVMAPPER_SUPPORT #ifndef DEVMAPPER_SUPPORT
void set_activation(int act) void set_activation(int act, int silent)
{ {
static int warned = 0; static int warned = 0;
@ -282,15 +282,15 @@ int lv_raid_message(const struct logical_volume *lv, const char *msg)
{ {
return 0; 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, uint32_t *chunk_size, uint64_t *dirty_count,
uint64_t *used_count, uint64_t *total_count) uint64_t *used_count, uint64_t *total_count)
{ {
return 0; return 0;
} }
int lv_cache_policy_info(const struct logical_volume *lv, int lv_cache_policy_info(struct logical_volume *lv,
char **policy_name, int *policy_argc, const char **policy_name, int *policy_argc,
const char *const **policy_argv) const char ***policy_argv)
{ {
return 0; return 0;
} }
@ -309,6 +309,10 @@ int lv_thin_pool_transaction_id(const struct logical_volume *lv,
{ {
return 0; 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) int lvs_in_vg_activated(const struct volume_group *vg)
{ {
return 0; return 0;