summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-14 14:44:56 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-14 14:44:56 +0200
commit7f2d3a3fc805d6a02a35ac3743139e3ea3a1ce73 (patch)
tree27235b683373df1b72b7d9bf2adbe755de8e64bb /udev
parent2b4f9e67c79339fd417cb49d0198233caaa076fd (diff)
require explicit "db_persist" to exclude device info from --db-cleanup
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-rules.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 80a8354d52..84513328e7 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;