File 10-dm.rules-Reset-state-variable-for-spurious-events.patch of Package lvm2.openSUSE_Leap_42.1_Update

References: bsc#932300
Index: LVM2.2.02.120/udev/
--- LVM2.2.02.120.orig/udev/
+++ LVM2.2.02.120/udev/
@@ -127,6 +127,11 @@ ENV{DM_UDEV_DISABLE_DM_RULES_FLAG}!="1",
 # We have to ignore further rule application for inappropriate events
 # and devices. But still send the notification if cookie exists.
+# Reset variables for spurious events
 # Avoid processing and scanning a DM device in the other (foreign)
 # rules if it is in suspended state. However, we still keep 'disk'
 # and 'DM subsystem' related rules enabled in this case.