1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
David Teigland 3bb5576528 lvresize: only resize crypt when fs resize is enabled
There were a couple of cases where lvresize, without --fs resize,
was resizing the crypt layer above the LV.  Resizing the crypt
layer should only be done when fs resizing is enabled (even if the
fs is already small enough due to being independently reduced.)

Also, check the size of the crypt device to see if it's already
been reduced independently, and skip the cryptsetup resize if
it's not needed.
2023-01-19 11:52:14 -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: fix segfault verifying serial for non-pv 2022-12-02 12:25:10 -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: only resize crypt when fs resize is enabled 2023-01-19 11:52:14 -06:00
filesystem.h lvresize: only resize crypt when fs resize is enabled 2023-01-19 11:52:14 -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 cov: remove unused header files 2022-12-20 15:04:36 +01:00