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:
parent
15328d84d2
commit
2bbafbfd4f
2
TODO
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user