]> err.no Git - systemd/commitdiff
libudev: device - fix udev_device_get_tags_list_entry() to always load database
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 28 Jun 2011 18:57:05 +0000 (20:57 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 28 Jun 2011 18:57:05 +0000 (20:57 +0200)
TODO
libudev/libudev-device.c

diff --git a/TODO b/TODO
index 4e1d7231362c6fcd6fef2b5573c31ff98b9530d5..3ae387440f33b1f830b2d5c794e0b3a48aaf6afa 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
- - detect uevent loops !!!
+ - remove RUN+="socket:"
 
  - use 'udevd:' in logs
 
index 8289acf3a97149a548de0bdd1179a92a18bec34b..1ac0760f9e1b9825810c58e6760165320973649f 100644 (file)
@@ -1641,6 +1641,8 @@ UDEV_EXPORT struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_
 {
        if (udev_device == NULL)
                return NULL;
+       if (!udev_device->info_loaded)
+               udev_device_read_db(udev_device, NULL);
        return udev_list_get_entry(&udev_device->tags_list);
 }