Hello community,

here is the log from the commit of package lvm2 for openSUSE:Factory checked in 
at 2020-08-28 21:13:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lvm2 (Old)
 and      /work/SRC/openSUSE:Factory/.lvm2.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lvm2"

Fri Aug 28 21:13:32 2020 rev:138 rq:829062 version:2.03.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/lvm2/lvm2.changes        2020-06-17 
14:45:44.132040822 +0200
+++ /work/SRC/openSUSE:Factory/.lvm2.new.3399/lvm2.changes      2020-08-28 
21:13:50.800105349 +0200
@@ -1,0 +2,161 @@
+Thu Aug 20 04:49:00 UTC 2020 - [email protected]
+
+- lvm can't pass build with gcc option Wstringop-overflow (bsc#1175565)
+  + bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch
+
+- lvm2.spec
+  + add obsoletes version for passing build
+  + remove config item '--with-cluster=internal' for lvmlockd package
+
+-------------------------------------------------------------------
+Mon Aug 10 07:11:00 UTC 2020 - [email protected]
+
+- Update to LVM2.2.03.10
+
+  WHATS_NEW from 2.03.06 to 2.03.10:
+  Version 2.03.10 - 09th August 2020
+  ==================================
+    Add writecache and integrity support to lvmdbusd.
+    Generate unique cachevol name when default required from lvcreate.
+    Converting RAID1 volume to one with same number of legs now succeeds with a
+    warning.
+    Fix conversion to raid from striped lagging type.
+    Fix conversion to 'mirrored' mirror log with larger regionsize.
+    Zero pool metadata on allocation (disable with allocation/zero_metadata=0).
+    Failure in zeroing or wiping will fail command (bypass with -Zn, -Wn).
+    Add lvcreate of new cache or writecache lv with single command.
+    Fix running out of free buffers for async writing for larger writes.
+    Add integrity with raid capability.
+    Fix support for lvconvert --repair used by foreign apps (i.e. Docker).
+  
+  Version 2.03.09 - 26th March 2020
+  =================================
+    Fix formating of vdopool (vdo_slab_size_mb was smaller by 2 bits).
+    Fix showing of a dm kernel error when uncaching a volume with cachevol.
+  
+  Version 2.03.08 - 11th February 2020
+  ====================================
+    Prevent problematic snapshots of writecache volumes.
+    Add error handling for failing allocation in _reserve_area().
+    Fix memleak in syncing of internal cache.
+    Fix pvck dump_current_text memleak.
+    Fix lvmlockd result code on error path for _query_lock_lv().
+    Update pvck man page and help output.
+    Reject invalid writecache high/low_watermark setting.
+    Report writecache status.
+    Accept more output lines from vdo_format.
+    Prohibit reshaping of stacked raid LVs.
+    Avoid running cache input arg validation when creating vdo pool.
+    Prevent raid reshaping of stacked volumes.
+    Added VDO lvmdbusd methods for enable/disable compression & dedupe.
+    Added VDO lvmdbusd method for converting LV to VDO pool.
+  
+  Version 2.03.07 - 30th November 2019
+  ====================================
+    Subcommand in vgck for repairing headers and metadata.
+    Ensure minimum required region size on striped RaidLV creation.
+    Fix resize of thin-pool with data and metadata of different segtype.
+    Improve mirror type leg splitting.
+    Improve error path handling in daemons on shutdown.
+    Fix activation order when removing merged snapshot.
+    Experimental VDO support for lvmdbusd.
+  
+  Version 2.03.06 - 23rd October 2019
+  ===================================
+    Add _cpool suffix to cache-pool LV name when used by caching LV.
+    No longer store extra UUID for cmeta and cdata cachevol layer.
+    Enhance activation of cache devices with cachevols.
+    Add _cvol in list of protected suffixes and start use it with DM UUID.
+    Rename LV converted to cachevol to use _cvol suffix.
+    Use normal LVs for wiping of cachevols.
+    Reload cleanered cache DM only with cleaner policy.
+    Fix cmd return when zeroing of cachevol fails.
+    Extend lvs to show all VDO properties.
+    Preserve VDO write policy with vdopool.
+    Increase default vdo bio threads to 4.
+    Continue report when cache_status fails.
+    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.
+    Ignore crypto devices with UUID signature CRYPT-SUBDEV.
+    Enhance validation for thin and cache pool conversion and swapping.
+    Improve internal removal of cached devices.
+    Synchronize with udev when dropping snapshot.
+    Add missing device synchronization point before removing pvmove node.
+    Correctly set read_ahead for LVs when pvmove is finished.
+    Remove unsupported OPTIONS+="event_timeout" udev rule from 11-dm-lvm.rules.
+    Prevent creating VGs with PVs with different logical block sizes.
+    Fix metadata writes from corrupting with large physical block size.
+
+  WHATS_NEW_DM from 1.02.164 to 1.02.173:
+  Version 1.02.173 - 09th August 2020
+  ===================================
+    Add support for VDO in blkdeactivate script.
+  
+  Version 1.02.171 - 26th March 2020
+  ==================================
+    Fix dm_list interators with gcc 10 optimization (-ftree-pta).
+    Dmeventd handles timer without looping on short intervals.
+  
+  Version 1.02.169 - 11th February 2020
+  =====================================
+    Enhance error messages for device creation.
+  
+  Version 1.02.167 - 30th November 2019
+  =====================================
+  
+  Version 1.02.165 - 23rd October 2019
+  ====================================
+    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.
+
+- Drop patches that have been merged into upstream
+  - bug-1122666_devices-drop-open-error-message.patch
+  - bug-1150021_01-scanning-open-devs-rw-when-rescanning-for-write.patch
+  - bug-1149408_Fix-rounding-writes-up-to-sector-size.patch
+  - bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size.patch
+  - bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
+  - bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch
+  - jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch
+  - bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
+  - bug-1158628_01-tests-replaces-grep-q-usage.patch
+  - bug-1158628_02-tests-fix-ra-checking.patch
+  - bug-1158628_03-tests-simplify-some-var-settings.patch
+  - bug-1158628_04-pvmove-correcting-read_ahead-setting.patch
+  - bug-1158628_05-activation-add-synchronization-point.patch
+  - bug-1158628_06-pvmove-add-missing-synchronization.patch
+  - bug-1158628_07-activation-extend-handling-of-pending_delete.patch
+  - bug-1158628_08-lv_manip-add-synchronizations.patch
+  - bug-1158628_09-lvconvert-improve-validation-thin-and-cache-pool-con.patch
+  - bug-1158628_10-thin-activate-layer-pool-aas-read-only-LV.patch
+  - bug-1158628_11-tests-mdadm-stop-in-test-cleanup.patch
+  - bug-1158628_12-test-increase-size-of-raid10-LV-allowing-tests-to-su.patch
+  - bug-1158628_13-lvconvert-fix-return-value-when-zeroing-fails.patch
+  - bug-1158628_14-tests-add-extra-settle.patch
+  - bug-1158628_15-test-Fix-handling-leftovers-from-previous-tests.patch
+  - bug-1158861_01-config-remove-filter-typo.patch
+  - bug-1158861_02-config-Fix-default-option-which-makes-no-sense.patch
+  - bug-1158861_03-vgchange-don-t-fail-monitor-command-if-vg-is-exporte.patch
+  - bug-1158861_04-fix-duplicate-pv-size-check.patch
+  - bug-1158861_05-hints-fix-copy-of-filter.patch
+  - bug-1158861_06-fix-segfault-for-invalid-characters-in-vg-name.patch
+  - bug-1158861_07-vgck-let-updatemetadata-repair-mismatched-metadata.patch
+  - bug-1158861_08-hints-fix-mem-leaking-buffers.patch
+  - bug-1158861_09-pvcreate-pvremove-fix-reacquiring-global-lock-after.patch
+  - bug-1150021_02-bcache-add-bcache_abort.patch
+  - bug-1150021_03-label-Use-bcache_abort_fd-to-ensure-blocks-are-no-lo.patch
+  - bug-1150021_04-bcache-add-unit-test.patch
+  - bug-1150021_05-bcache-bcache_invalidate_fd-only-remove-prefixes-on.patch
+  - bug-1150021_06-fix-dev_unset_last_byte-after-write-error.patch
+  - bug-1157736-add-suggestion-message-for-mirror-LVs.patch
+  - bug-1171907-lvremove-remove-attached-cachevol-with-removed-LV.patch
+  - bug-1172566_cachevol-use-cachepool-code-for-metadata-size.patch
+
+- lvm2.spec
+  + Correct lvm2.spec 'Source' & 'Source42' URL
+  + enable feature --with-writecache=internal
+
+
+-------------------------------------------------------------------

Old:
----
  LVM2.2.03.05.tgz
  LVM2.2.03.05.tgz.asc
  bug-1122666_devices-drop-open-error-message.patch
  bug-1149408_Fix-rounding-writes-up-to-sector-size.patch
  bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size.patch
  bug-1150021_01-scanning-open-devs-rw-when-rescanning-for-write.patch
  bug-1150021_02-bcache-add-bcache_abort.patch
  bug-1150021_03-label-Use-bcache_abort_fd-to-ensure-blocks-are-no-lo.patch
  bug-1150021_04-bcache-add-unit-test.patch
  bug-1150021_05-bcache-bcache_invalidate_fd-only-remove-prefixes-on.patch
  bug-1150021_06-fix-dev_unset_last_byte-after-write-error.patch
  bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
  bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch
  bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
  bug-1157736-add-suggestion-message-for-mirror-LVs.patch
  bug-1158628_01-tests-replaces-grep-q-usage.patch
  bug-1158628_02-tests-fix-ra-checking.patch
  bug-1158628_03-tests-simplify-some-var-settings.patch
  bug-1158628_04-pvmove-correcting-read_ahead-setting.patch
  bug-1158628_05-activation-add-synchronization-point.patch
  bug-1158628_06-pvmove-add-missing-synchronization.patch
  bug-1158628_07-activation-extend-handling-of-pending_delete.patch
  bug-1158628_08-lv_manip-add-synchronizations.patch
  bug-1158628_09-lvconvert-improve-validation-thin-and-cache-pool-con.patch
  bug-1158628_10-thin-activate-layer-pool-aas-read-only-LV.patch
  bug-1158628_11-tests-mdadm-stop-in-test-cleanup.patch
  bug-1158628_12-test-increase-size-of-raid10-LV-allowing-tests-to-su.patch
  bug-1158628_13-lvconvert-fix-return-value-when-zeroing-fails.patch
  bug-1158628_14-tests-add-extra-settle.patch
  bug-1158628_15-test-Fix-handling-leftovers-from-previous-tests.patch
  bug-1158861_01-config-remove-filter-typo.patch
  bug-1158861_02-config-Fix-default-option-which-makes-no-sense.patch
  bug-1158861_03-vgchange-don-t-fail-monitor-command-if-vg-is-exporte.patch
  bug-1158861_04-fix-duplicate-pv-size-check.patch
  bug-1158861_05-hints-fix-copy-of-filter.patch
  bug-1158861_06-fix-segfault-for-invalid-characters-in-vg-name.patch
  bug-1158861_07-vgck-let-updatemetadata-repair-mismatched-metadata.patch
  bug-1158861_08-hints-fix-mem-leaking-buffers.patch
  bug-1158861_09-pvcreate-pvremove-fix-reacquiring-global-lock-after.patch
  bug-1171907-lvremove-remove-attached-cachevol-with-removed-LV.patch
  bug-1172566_cachevol-use-cachepool-code-for-metadata-size.patch
  jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch

New:
----
  LVM2.2.03.10.tgz
  LVM2.2.03.10.tgz.asc
  bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lvm2.spec ++++++
--- /var/tmp/diff_new_pack.ZLQf37/_old  2020-08-28 21:13:53.444106632 +0200
+++ /var/tmp/diff_new_pack.ZLQf37/_new  2020-08-28 21:13:53.448106634 +0200
@@ -21,11 +21,17 @@
 %define libname_event libdevmapper-event1_03
 %define _udevdir %(pkg-config --variable=udevdir udev)
 %define cmdlib liblvm2cmd2_03
-%define lvm2_version              2.03.05
-%define device_mapper_version     1.02.163
+%define lvm2_version              2.03.10
+%define device_mapper_version     1.02.173
 %define thin_provisioning_version 0.7.0
 %define _supportsanlock 0
 %define dlm_version     4.0
+# from lvm2 version 2.03, suse obsoleted clvm, cmirrord, liblvm2app & 
liblvm2cmd. 
+# so the obseletes version is 2.03 
+%define lvm2_clvm_version 2.03
+%define lvm2_cmirrord_version 2.03
+%define liblvm2app2_2_version 2.03
+%define liblvm2cmd2_02_version 2.03
 %if 0%{_supportsanlock} == 1
 %define sanlock_version 3.3.0
 %endif
@@ -50,51 +56,12 @@
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          System/Base
 URL:            https://www.sourceware.org/lvm2/
-Source:         ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
+Source:         ftp://sourceware.org/pub/lvm2/LVM2.%{version}.tgz
 Source1:        lvm.conf
-Source42:       ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz.asc
+Source42:       ftp://sourceware.org/pub/lvm2/LVM2.%{version}.tgz.asc
 Source99:       baselibs.conf
 # Upstream patches
-Patch0001:      bug-1122666_devices-drop-open-error-message.patch
-Patch0002:      
bug-1150021_01-scanning-open-devs-rw-when-rescanning-for-write.patch
-Patch0003:      bug-1149408_Fix-rounding-writes-up-to-sector-size.patch
-Patch0004:      
bug-1149408_vgcreate-vgextend-restrict-PVs-with-mixed-block-size.patch
-Patch0005:      
bug-1152378-md-component-detection-for-differing-PV-and-device-s.patch
-Patch0006:      
bug-1152378-pvscan-fix-PV-online-when-device-has-a-different-siz.patch
-Patch0007:      jcs-SLE5498_pvscan-allow-use-of-noudevsync-option.patch
-Patch0008:      
bug-1154655_udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
-Patch0009:      bug-1158628_01-tests-replaces-grep-q-usage.patch
-Patch0010:      bug-1158628_02-tests-fix-ra-checking.patch
-Patch0011:      bug-1158628_03-tests-simplify-some-var-settings.patch
-Patch0012:      bug-1158628_04-pvmove-correcting-read_ahead-setting.patch
-Patch0013:      bug-1158628_05-activation-add-synchronization-point.patch
-Patch0014:      bug-1158628_06-pvmove-add-missing-synchronization.patch
-Patch0015:      
bug-1158628_07-activation-extend-handling-of-pending_delete.patch
-Patch0016:      bug-1158628_08-lv_manip-add-synchronizations.patch
-Patch0017:      
bug-1158628_09-lvconvert-improve-validation-thin-and-cache-pool-con.patch
-Patch0018:      bug-1158628_10-thin-activate-layer-pool-aas-read-only-LV.patch
-Patch0019:      bug-1158628_11-tests-mdadm-stop-in-test-cleanup.patch
-Patch0020:      
bug-1158628_12-test-increase-size-of-raid10-LV-allowing-tests-to-su.patch
-Patch0021:      
bug-1158628_13-lvconvert-fix-return-value-when-zeroing-fails.patch
-Patch0022:      bug-1158628_14-tests-add-extra-settle.patch
-Patch0023:      
bug-1158628_15-test-Fix-handling-leftovers-from-previous-tests.patch
-Patch0024:      bug-1158861_01-config-remove-filter-typo.patch
-Patch0025:      
bug-1158861_02-config-Fix-default-option-which-makes-no-sense.patch
-Patch0026:      
bug-1158861_03-vgchange-don-t-fail-monitor-command-if-vg-is-exporte.patch
-Patch0027:      bug-1158861_04-fix-duplicate-pv-size-check.patch
-Patch0028:      bug-1158861_05-hints-fix-copy-of-filter.patch
-Patch0029:      
bug-1158861_06-fix-segfault-for-invalid-characters-in-vg-name.patch
-Patch0030:      
bug-1158861_07-vgck-let-updatemetadata-repair-mismatched-metadata.patch
-Patch0031:      bug-1158861_08-hints-fix-mem-leaking-buffers.patch
-Patch0032:      
bug-1158861_09-pvcreate-pvremove-fix-reacquiring-global-lock-after.patch
-Patch0033:      bug-1150021_02-bcache-add-bcache_abort.patch
-Patch0034:      
bug-1150021_03-label-Use-bcache_abort_fd-to-ensure-blocks-are-no-lo.patch
-Patch0035:      bug-1150021_04-bcache-add-unit-test.patch
-Patch0036:      
bug-1150021_05-bcache-bcache_invalidate_fd-only-remove-prefixes-on.patch
-Patch0037:      bug-1150021_06-fix-dev_unset_last_byte-after-write-error.patch
-Patch0038:      bug-1157736-add-suggestion-message-for-mirror-LVs.patch
-Patch0039:      
bug-1171907-lvremove-remove-attached-cachevol-with-removed-LV.patch
-Patch0040:      bug-1172566_cachevol-use-cachepool-code-for-metadata-size.patch
+# n/a
 # SUSE patches: 1000+ for LVM
 # Never upstream
 Patch1001:      cmirrord_remove_date_time_from_compilation.patch
@@ -102,6 +69,7 @@
 Patch1003:      fate-31841_fsadm-add-support-for-btrfs.patch
 Patch1004:      bug-935623_dmeventd-fix-dso-name-wrong-compare.patch
 Patch1005:      bug-998893_make_pvscan_service_after_multipathd.patch
+Patch1006:      
bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch
 # SUSE patches 2000+ for device mapper, udev rules
 Patch2001:      
bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch
 # SUSE patches 3000+ for test code
@@ -118,7 +86,7 @@
 Requires(post): coreutils
 Requires(postun): coreutils
 Provides:       lvm = %{version}
-Obsoletes:      lvm2-cmirrord
+Obsoletes:      lvm2-cmirrord <= %{lvm2_cmirrord_version}
 %{?systemd_requires}
 %if %{with devicemapper}
 BuildRequires:  gcc-c++
@@ -131,6 +99,7 @@
 BuildRequires:  pkgconfig(blkid)
 %if %{with lockd}
 BuildRequires:  libdlm-devel
+BuildRequires:  pkgconfig(libsystemd)
 %if 0%{_supportsanlock} == 1
 BuildRequires:  sanlock-devel >= %{sanlock_version}
 %endif
@@ -149,51 +118,12 @@
 
 %prep
 %setup -q -n LVM2.%{version}
-%patch0001 -p1
-%patch0002 -p1
-%patch0003 -p1
-%patch0004 -p1
-%patch0005 -p1
-%patch0006 -p1
-%patch0007 -p1
-%patch0008 -p1
-%patch0009 -p1
-%patch0010 -p1
-%patch0011 -p1
-%patch0012 -p1
-%patch0013 -p1
-%patch0014 -p1
-%patch0015 -p1
-%patch0016 -p1
-%patch0017 -p1
-%patch0018 -p1
-%patch0019 -p1
-%patch0020 -p1
-%patch0021 -p1
-%patch0022 -p1
-%patch0023 -p1
-%patch0024 -p1
-%patch0025 -p1
-%patch0026 -p1
-%patch0027 -p1
-%patch0028 -p1
-%patch0029 -p1
-%patch0030 -p1
-%patch0031 -p1
-%patch0032 -p1
-%patch0033 -p1
-%patch0034 -p1
-%patch0035 -p1
-%patch0036 -p1
-%patch0037 -p1
-%patch0038 -p1
-%patch0039 -p1
-%patch0040 -p1
 %patch1001 -p1
 %patch1002 -p1
 %patch1003 -p1
 %patch1004 -p1
 %patch1005 -p1
+%patch1006 -p1
 %patch2001 -p1
 
 %if !%{with lockd}
@@ -207,6 +137,7 @@
     --enable-lvmpolld
     --enable-realtime
     --with-cache=internal
+       --with-writecache=internal
     --with-default-locking-dir=/run/lock/lvm
     --with-default-pid-dir=/run
     --with-default-run-dir=/run/lvm
@@ -226,7 +157,6 @@
     --with-default-locking-dir=/run/lock/lvm
     --with-default-pid-dir=/run
     --with-default-run-dir=/run/lvm
-    --with-cluster=internal
     --enable-lvmlockd-dlm
 %if 0%{_supportsanlock} == 1
     --enable-lvmlockd-sanlock
@@ -493,7 +423,7 @@
 Requires:       device-mapper >= %{device_mapper_version}
 Requires:       lvm2 = %{version}
 Recommends:     libdlm >= %{dlm_version}
-Obsoletes:      lvm2-clvm
+Obsoletes:      lvm2-clvm <= %{lvm2_clvm_version}
 %{?systemd_requires}
 %if 0%{_supportsanlock} == 1
 Requires:       sanlock >= %{sanlock_version}
@@ -746,8 +676,8 @@
 Summary:        LVM2 command line library
 Group:          System/Libraries
 Conflicts:      %{name} < %{version}
-Obsoletes:      liblvm2app2_2
-Obsoletes:      liblvm2cmd2_02
+Obsoletes:      liblvm2app2_2 <= %{liblvm2app2_2_version}
+Obsoletes:      liblvm2cmd2_02 <= %{liblvm2cmd2_02_version}
 
 %description -n %{cmdlib}
 The lvm2 command line library allows building programs that manage

++++++ LVM2.2.03.05.tgz -> LVM2.2.03.10.tgz ++++++
++++ 39073 lines of diff (skipped)

++++++ bug-1175565_lvm-cant-pass-build-with-gcc-option-Wstringop-overflow.patch 
++++++
>From c082344068ac0b080c5f3d97e0272952a665813b Mon Sep 17 00:00:00 2001
From: Zhao Heming <[email protected]>
Date: Thu, 20 Aug 2020 23:21:11 +0800
Subject: [PATCH] change zero-sized array to fexlible array

this change make gcc happy with compiling option: [-Wstringop-overflow=]

Signed-off-by: Zhao Heming <[email protected]>
---
 device_mapper/libdm-common.c | 2 +-
 lib/activate/fs.c            | 2 +-
 libdm/libdm-common.c         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/device_mapper/libdm-common.c b/device_mapper/libdm-common.c
index bc691d6..3627457 100644
--- a/device_mapper/libdm-common.c
+++ b/device_mapper/libdm-common.c
@@ -1445,7 +1445,7 @@ struct node_op_parms {
        char *old_name;
        int warn_if_udev_failed;
        unsigned rely_on_udev;
-       char names[0];
+       char names[];
 };
 
 static void _store_str(char **pos, char **ptr, const char *str)
diff --git a/lib/activate/fs.c b/lib/activate/fs.c
index b2c99fc..96f7df6 100644
--- a/lib/activate/fs.c
+++ b/lib/activate/fs.c
@@ -313,7 +313,7 @@ struct fs_op_parms {
        char *lv_name;
        char *dev;
        char *old_lv_name;
-       char names[0];
+       char names[];
 };
 
 static void _store_str(char **pos, char **ptr, const char *str)
diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c
index d75c704..d587c32 100644
--- a/libdm/libdm-common.c
+++ b/libdm/libdm-common.c
@@ -1443,7 +1443,7 @@ struct node_op_parms {
        char *old_name;
        int warn_if_udev_failed;
        unsigned rely_on_udev;
-       char names[0];
+       char names[];
 };
 
 static void _store_str(char **pos, char **ptr, const char *str)
-- 
1.8.3.1


Reply via email to