1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-24 14:50:17 +03:00

libudev: device - fix udev_device_get_tags_list_entry() to always load database

This commit is contained in:
Kay Sievers 2011-06-28 20:57:05 +02:00
parent 15328d84d2
commit 2bbafbfd4f
2 changed files with 3 additions and 1 deletions

2
TODO

@ -1,4 +1,4 @@
- detect uevent loops !!!
- remove RUN+="socket:"
- use 'udevd:' in logs

@ -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);
}