diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-15 17:26:08 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-15 17:26:08 +0100 |
commit | 5f59fa0900a5c127ce1a25d8ba3176f166662f96 (patch) | |
tree | 5e1b317f3d31f58777b94fd5112b4b427a731b61 /udev/udev-event.c | |
parent | 52d54f237d8b5380b0573242702606bf2ec5b7ab (diff) |
move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd startup
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r-- | udev/udev-event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c index 100a79c1e8..137ba36776 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -539,7 +539,7 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules) return -1; if (strcmp(udev_device_get_action(dev), "remove") == 0) { - udev_device_read_db(dev); + udev_device_read_db(dev, NULL); udev_device_delete_db(dev); udev_device_tag_index(dev, NULL, false); @@ -553,7 +553,7 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules) } else { event->dev_db = udev_device_new_from_syspath(event->udev, udev_device_get_syspath(dev)); if (event->dev_db != NULL) { - udev_device_read_db(event->dev_db); + udev_device_read_db(event->dev_db, NULL); udev_device_set_info_loaded(event->dev_db); /* disable watch during event processing */ |