master - dm: fix compilation of dmsetup
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3e01ff2783505f9b64f273fb492ee88e26afb568 Commit: 3e01ff2783505f9b64f273fb492ee88e26afb568 Parent: 65efacd0e077f61842cf3bf9ff1fc42230e08947 Author: Marian Csontos <[email protected]> AuthorDate: Mon Oct 21 16:31:53 2019 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Oct 22 13:39:45 2019 +0200
dm: fix compilation of dmsetup
Fix: 889c88e9dab33195efc4dc0400a4b0aaa3383948
Use correct enum DM_DEVICE_GET_TARGET_VERSION.
--- WHATS_NEW | 2 +- WHATS_NEW_DM | 2 +- device_mapper/all.h | 2 +- libdm/dm-tools/dmsetup.c | 2 +- libdm/libdevmapper.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
WHATS_NEW +1 -1
@@ -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.
WHATS_NEW_DM +1 -1
@@ -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.
device_mapper/all.h +1 -1
@@ -123,7 +123,7 @@ enum {DM_DEVICE_ARM_POLL , - DM_GET_TARGET_VERSION + DM_DEVICE_GET_TARGET_VERSION };/*
libdm/dm-tools/dmsetup.c +1 -1
@@ -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 ]))
libdm/libdevmapper.h +1 -1
@@ -123,7 +123,7 @@ enum {DM_DEVICE_ARM_POLL , - DM_GET_TARGET_VERSION + DM_DEVICE_GET_TARGET_VERSION };/*