1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/udev
Martin Wilck 2b2f11a74c 11-dm-lvm.rules: don't restore DM_UDEV_DISABLE_OTHER_RULES_FLAG from db
DM_UDEV_DISABLE_OTHER_RULES_FLAG is used as the "output" flag of the
device-mapper rules, to be consumed by non-dm rules. It is a logical OR of
several conditions that might make dm devices inaccessible. 10-dm.rules
calculates it for every uevent, whether it's genuine or spurious.

DM_SUBSYSTEM_UDEV_FLAG0 is just another flag that needs to be or'd in. We
don't need to restore the previous state of DM_UDEV_DISABLE_OTHER_RULES_FLAG.
Actually, doing so is wrong if the flag has previously been set because the
device was suspended, and the device isn't suspended anymore.

Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Peter Rajnoha <prajnoha@redhat.com>
2024-03-25 07:31:36 +00:00
..
.gitignore gitignore: update 2022-09-07 15:00:15 +02:00
10-dm.rules.in 10-dm-rules: don't restore DM_UDEV_DISABLE_OTHER_RULES_FLAG from db 2024-03-25 07:31:36 +00:00
11-dm-lvm.rules.in 11-dm-lvm.rules: don't restore DM_UDEV_DISABLE_OTHER_RULES_FLAG from db 2024-03-25 07:31:36 +00:00
12-dm-permissions.rules add copyright lines 2009-10-26 22:42:07 +00:00
13-dm-disk.rules.in 13-dm-disk.rules: import ID_FS_TYPE 2024-03-25 07:31:36 +00:00
69-dm-lvm.rules.in udev: ignore LVs containing PVs 2024-02-08 14:51:46 -06:00
95-dm-notify.rules.in udev: udev rules cleanup 2012-06-27 12:11:56 +02:00
Makefile.in makefiles: avoid grep 2023-02-23 16:46:35 +01:00