mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dm: fix compilation of dmsetup
Fix: 889c88e9da
Use correct enum DM_DEVICE_GET_TARGET_VERSION.
This commit is contained in:
parent
65efacd0e0
commit
3e01ff2783
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -123,7 +123,7 @@ enum {
|
||||
|
||||
DM_DEVICE_ARM_POLL,
|
||||
|
||||
DM_GET_TARGET_VERSION
|
||||
DM_DEVICE_GET_TARGET_VERSION
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -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]))
|
||||
|
@ -123,7 +123,7 @@ enum {
|
||||
|
||||
DM_DEVICE_ARM_POLL,
|
||||
|
||||
DM_GET_TARGET_VERSION
|
||||
DM_DEVICE_GET_TARGET_VERSION
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user