lvm2: Update to version 2.03.40

Message ID 20260430183648.2774994-3-adolf.belka@ipfire.org
State Staged
Commit 979b8b346fad38e8d6d15f1613c355771392379c
Headers
Series lvm2: Update to version 2.03.40 |

Commit Message

Adolf Belka 30 Apr 2026, 6:36 p.m. UTC
- Update from version 2.03.39 to 2.03.40
- Update of rootfile
- Changelog
2.03.40
  Reset warned flag in dmeventd raid plugin when device fully syncs.
  Fix inverted range comparison in libdm reserved value check.
  Fix percent_check threshold stuck above 100% in dmeventd thin/vdo plugins.
  Fix cache_check_for_warns reading wrong cache mode for cachevol.
  Fix memory leak in process_each_label duplicate handling.
  Fix missing unlock_vg in vgcreate when pvcreate_each_device fails.
  Lock the origin LV when locking a COW snapshot in lvmlockd.
  Preserve bcache AIO context across lvm shell commands to avoid reinit cost.
  Fix msg.data leaks in dmeventd restart and reinstate paths.
  Fix VG lock leak on init_processing_handle failure in vgcreate.
  Fix VG lock leak on lv_remove_single failure in vgmerge.
  Fix VG lock leak on second lock_vol failure in vgimportclone.
  Fix VG lock leak on early return in pvscan.
  Fix inverted strstr check in remove_layer_from_lv layer rename.
  Fix inverted strcmp for vgchange --persist lockstart check.
  Fix argv overwriting last vdoformat option with device path.
  Fix NULL deref of sync_action in dm_get_status_raid.
  Fix recovery rate check in lvcreate when max rate is unset.
  Fix dm_strncpy off-by-one in raid split image conversion name.
  Fix missing failure return after reshape space allocation error in raid.
  Pre-create udev cookie before critical section to avoid resume failures.
  Validate area_count before subtracting parity_devs in RAID metadata import.
  Validate area_count against MAX_STRIPES to prevent integer overflow.
  Validate mda size and prevent uint64 to uint32 truncation in metadata reads.
  Extract label_check_pv_layout to validate PV label buffer structure.
  Remove redundant memset from command registration (global array is zero-init).
  Kill orphaned polling lvpoll process in lvmpolld on pvmove --abort.
  Fix pvmove mirror image bounds check off-by-one in poll completion.
  Fix dev_manager to restore track_pvmove_deps flag on error path.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/lvm2 | 2 ++
 lfs/lvm2                     | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2
index 61da721b1..45150d859 100644
--- a/config/rootfiles/common/lvm2
+++ b/config/rootfiles/common/lvm2
@@ -23,6 +23,7 @@  usr/lib/udev/rules.d/95-dm-notify.rules
 usr/sbin/blkdeactivate
 usr/sbin/dmsetup
 usr/sbin/dmstats
+usr/sbin/dmvdostats
 usr/sbin/fsadm
 usr/sbin/lvchange
 usr/sbin/lvconvert
@@ -87,6 +88,7 @@  usr/sbin/vgsplit
 #usr/share/man/man8/blkdeactivate.8
 #usr/share/man/man8/dmsetup.8
 #usr/share/man/man8/dmstats.8
+#usr/share/man/man8/dmvdostats.8
 #usr/share/man/man8/fsadm.8
 #usr/share/man/man8/lvchange.8
 #usr/share/man/man8/lvconvert.8
diff --git a/lfs/lvm2 b/lfs/lvm2
index bc2de3904..538cb161e 100644
--- a/lfs/lvm2
+++ b/lfs/lvm2
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.03.39
+VER        = 2.03.40
 
 THISAPP    = LVM2.$(VER)
 DL_FILE    = $(THISAPP).tgz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 24dc0f3a07dbd07a808343bb35078b6fe9e0372052c5d58c1d18b525ed23621434accce891d0a9390f9b5bd790c2d67dd22280746aada409e02c7cef9d9fae1f
+$(DL_FILE)_BLAKE2 = 8879915ba959de72becceddfccd4a9f7cae14e1614cddc1b4f89ad6f784ecbca03c0d734e834f87f9f53b432aa16ac9a55c9e1c93cdf199a53166ea4c1964330
 
 install : $(TARGET)