1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
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
..
bcache-utils.c cov: ensure data is not derefenced 2021-09-20 14:26:09 +02:00
bcache.c cov: mask some warning about leakage 2021-09-20 14:26:09 +02:00
bcache.h bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
dev_util.c devices: factor common list functions 2022-11-07 11:38:46 -06:00
dev-cache.c vgimportdevices: fix locking when creating devices file 2022-08-30 14:52:00 -05:00
dev-cache.h filter-mpath: get wwids from sysfs vpd_pg83 2022-06-08 15:06:01 -05:00
dev-dasd.c cov: mask uninitialized value 2021-03-10 01:34:27 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-io.c devices: drop incorrect paths from aliases list 2022-02-24 17:22:03 -06:00
dev-luks.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-mpath.c device id wwid adjustments 2022-10-10 11:47:29 -05:00
dev-swap.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-type.c blkid: fix BLKID_SUBLKS_FSINFO usage 2022-09-29 15:25:32 -05:00
dev-type.h lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
device_id.c device_id: ignore quotes in device id 2023-02-06 12:24:18 -06:00
device_id.h device_id: handle duplicate serial numbers 2022-11-07 08:56:02 -06:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h devices: factor common list functions 2022-11-07 11:38:46 -06:00
filesystem.c lvresize: fix check for mounted and renamed LV to handle spaces 2023-02-23 16:55:36 -06:00
filesystem.h lvresize: fail early if crypt device is missing 2023-01-30 17:12:11 -06:00
online.c cov: remove unused header files 2022-12-20 15:04:36 +01:00
online.h vgremove: remove online files in run dir 2022-09-14 14:19:29 -05:00
parse_vpd.c device_id: ignore quotes in device id 2023-02-06 12:24:18 -06:00