diff --git a/WHATS_NEW b/WHATS_NEW index 3fde645ab..44b1df872 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.169 - ===================================== + Also unmount mount point on top of MD device if using blkdeactivate -u. Restore check preventing resize of cache type volumes (2.02.158). Add missing udev sync when flushing dirty cache content. vgchange -p accepts only uint32 numbers. diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in index 443af9cb2..436c72e84 100644 --- a/scripts/blkdeactivate.sh.in +++ b/scripts/blkdeactivate.sh.in @@ -171,7 +171,8 @@ device_umount_one() { } device_umount() { - test "$devtype" != "lvm" && test "${kname:0:3}" != "dm-" && return 0 + test "$devtype" != "lvm" && test "${kname:0:3}" != "dm-" \ + && test "${kname:0:2}" != "md" && return 0 # FINDMNT is defined only if umount --all-targets is not available. # In that case, read the list of multiple mount points of one device