]> err.no Git - systemd/commitdiff
require explicit "db_persist" to exclude device info from --db-cleanup
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 14 Apr 2011 12:44:56 +0000 (14:44 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 14 Apr 2011 12:44:56 +0000 (14:44 +0200)
udev/udev-rules.c

index 80a8354d52a76aebad0dc56de3401d0d6e415684..84513328e7d26851acd92862a1b478acf509e2b0 100644 (file)
@@ -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;