From 7f2d3a3fc805d6a02a35ac3743139e3ea3a1ce73 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 14 Apr 2011 14:44:56 +0200 Subject: [PATCH] require explicit "db_persist" to exclude device info from --db-cleanup --- udev/udev-rules.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 80a8354d..84513328 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -2345,9 +2345,6 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event const char *key = &rules->buf[cur->key.value_off]; const char *value; - /* implicitely mark database as persistent across initramfs transition */ - udev_device_set_db_persist(event->dev); - value = udev_device_get_property_value(event->dev_db, key); if (value != NULL) { struct udev_list_entry *entry; -- 2.39.5