mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
fsadm: fix bug in LUKS grow/shrink decision branch
This commit is contained in:
parent
6df7917581
commit
af781897fa
@ -591,7 +591,7 @@ resize_luks() {
|
||||
VOLUME="$DM_DEV_DIR/mapper/$NAME"
|
||||
detect_device_size
|
||||
|
||||
test "$DEVSIZE" -le "$NEWSIZE" || SHRINK=1
|
||||
test "$DEVSIZE" -le "$NEWFSIZE" || SHRINK=1
|
||||
|
||||
if [ $SHRINK -eq 1 ]; then
|
||||
# shrink fs on LUKS device first
|
||||
|
Loading…
x
Reference in New Issue
Block a user