1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
David Teigland 1857eb9fe0 lvresize: fix check for mounted and renamed LV to handle spaces
Replace spaces with \040 in directory paths from getmntent (mtab).

The recent commit 5374a44c57 compares mount point directory paths
from /etc/mtab and /proc/mounts, in order to detect when a mounted
LV has been renamed.  The directory path comparison does not work
correctly when the path contains spaces because getmntent uses
ascii space chars and proc replaces spaces with \040.
2023-02-23 16:55:36 -06:00
..
activate cov: avoid using strcpy 2023-02-17 00:00:04 +01:00
cache lvm: fix typos 2023-02-10 17:50:27 +01:00
cache_segtype gcc: remove invalid attribute 2021-09-13 12:34:41 +02:00
commands cov: avoid using strcpy 2023-02-17 00:00:04 +01:00
config lvm: fix typos 2023-02-10 17:50:27 +01:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device lvresize: fix check for mounted and renamed LV to handle spaces 2023-02-23 16:55:36 -06:00
display gcc-fanalyzer: helping understand answer is not null 2021-09-21 21:03:47 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters pvscan: filter does not need to be checked for symlink names 2023-02-15 10:19:57 -06:00
format_text cov: avoid using strcpy 2023-02-17 00:00:04 +01:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label pvscan: filter does not need to be checked for symlink names 2023-02-15 10:19:57 -06:00
locking lvmlockd: Fix syntax error in previous commit 2023-01-11 13:34:38 +01:00
log shell: add pre-cmd log report object type and enable lastlog for it 2022-08-22 14:06:34 +02:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata metadata-exported.h: correcting definition 2023-02-10 17:50:27 +01:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc utils: define macro for ffs 2021-09-27 18:56:14 +02:00
mm mm: use mallinfo2 when available 2022-08-30 13:56:16 +02:00
notify lvmnotify.c: Check to see if dbus daemon is running 2022-10-19 14:22:12 -05:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report lvmlockd: fix report of lv_active_exclusively for special lv types 2023-01-10 15:37:15 -06:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin thin: rename internal function 2022-08-30 13:54:19 +02:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
vdo vdo: fix and enhance vdo constain checking 2023-01-16 12:37:40 +01:00
writecache writecache: support settings metadata_only and pause_writeback 2022-12-08 16:53:36 -06:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00