1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

dm: fix compilation of dmsetup

Fix: 889c88e9da
Use correct enum DM_DEVICE_GET_TARGET_VERSION.
This commit is contained in:
Marian Csontos 2019-10-21 16:31:53 +02:00 committed by Zdenek Kabelac
parent 65efacd0e0
commit 3e01ff2783
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ Version 2.03.06 -
Preserve VDO write policy with vdopool.
Increase default vdo bio threads to 4.
Continue report when cache_status fails.
Add support for DM_GET_TARGET_VERSION into device_mapper.
Add support for DM_DEVICE_GET_TARGET_VERSION into device_mapper.
Fix cmirrord usage of header files from device_mapper subdir.
Allow standalone activation of VDO pool just like for thin-pools.
Activate thin-pool layered volume as 'read-only' device.

View File

@ -1,6 +1,6 @@
Version 1.02.165 -
=================================
Add support for DM_GET_TARGET_VERSION.
Add support for DM_DEVICE_GET_TARGET_VERSION.
Add debug of dmsetup udevcomplete with hexa print DM_COOKIE_COMPLETED.
Fix versioning of dm_stats_create_region and dm_stats_create_region.

View File

@ -123,7 +123,7 @@ enum {
DM_DEVICE_ARM_POLL,
DM_GET_TARGET_VERSION
DM_DEVICE_GET_TARGET_VERSION
};
/*

View File

@ -2596,7 +2596,7 @@ static int _target_version(CMD_ARGS)
struct dm_task *dmt;
struct dm_versions *target;
if (!(dmt = dm_task_create(DM_GET_TARGET_VERSION)))
if (!(dmt = dm_task_create(DM_DEVICE_GET_TARGET_VERSION)))
return_0;
if (!dm_task_set_name(dmt, argv[0]))

View File

@ -123,7 +123,7 @@ enum {
DM_DEVICE_ARM_POLL,
DM_GET_TARGET_VERSION
DM_DEVICE_GET_TARGET_VERSION
};
/*