Check LVM cache only for LVM physical volumes
Determine the FS type before checking whether a FS is busy, and check LVM only for LVM PVs. Remove the LVM busy check for extended partitions, as they don't contain LVM PVs - or any other FS for that matter. (and even if they did, the rest of the code silently assumes they don't...)
parent
ed51f4b2
Please register or sign in to comment