]> sourceware.org Git - lvm2.git/commitdiff
dm: fix compilation of dmsetup
authorMarian Csontos <mcsontos@redhat.com>
Mon, 21 Oct 2019 14:31:53 +0000 (16:31 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 22 Oct 2019 11:39:45 +0000 (13:39 +0200)
Fix: 889c88e9dab33195efc4dc0400a4b0aaa3383948
Use correct enum DM_DEVICE_GET_TARGET_VERSION.

WHATS_NEW
WHATS_NEW_DM
device_mapper/all.h
libdm/dm-tools/dmsetup.c
libdm/libdevmapper.h

index 001a12bf361712f67b71b465ccc669ec6bd1883c..11b0acf5ebfe93a39bde02e2efb5b5b5f3b8378d 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
index 94492d4b2f8aba1b1ef5dc338166cb32110ac846..ed56b89ab3457b4cc2c2ee4abc00cfd81792ef94 100644 (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.
 
index 52b546f1f62a890ea9e7929b375b47c929428b0f..57673b44ac54a5eb89d94faf8b72219838733045 100644 (file)
@@ -123,7 +123,7 @@ enum {
 
        DM_DEVICE_ARM_POLL,
 
-       DM_GET_TARGET_VERSION
+       DM_DEVICE_GET_TARGET_VERSION
 };
 
 /*
index 7d60d2f1bcacf19a7891f5dc44e33f5d7a2da1a5..269f86c9be6df064ba437b1822899716a3e1ba34 100644 (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]))
index 81c67dcf217daf89fdd55895345e3afe94658153..18fe9f9fde0c4717d431986b6adf1fbb93f027e2 100644 (file)
@@ -123,7 +123,7 @@ enum {
 
        DM_DEVICE_ARM_POLL,
 
-       DM_GET_TARGET_VERSION
+       DM_DEVICE_GET_TARGET_VERSION
 };
 
 /*
This page took 0.060689 seconds and 5 git commands to generate.