From 9ba40da7ae908fb36cb9927cde60a1a45cacce80 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Tue, 10 Sep 2013 12:38:18 +0200 Subject: [PATCH] udev: DM_ID_FS_TYPE should be ID_FS_TYPE when comparing with old value --- udev/69-dm-lvm-metad.rules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/69-dm-lvm-metad.rules.in b/udev/69-dm-lvm-metad.rules.in index b4be58207..aa787e31d 100644 --- a/udev/69-dm-lvm-metad.rules.in +++ b/udev/69-dm-lvm-metad.rules.in @@ -18,7 +18,7 @@ SUBSYSTEM!="block", GOTO="lvm_end" (LVM_EXEC_RULE) # If the PV label got lost, inform lvmetad about it. -ENV{DM_ID_FS_TYPE_OLD}=="LVM2_member|LVM1_member", ENV{DM_ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_scan" +ENV{DM_ID_FS_TYPE_OLD}=="LVM2_member|LVM1_member", ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_scan" # Only process devices already marked as a PV - this requires blkid to be called before. ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_end"