Added mod_type check before LVM locking type change in initrd