]> git.ipfire.org Git - thirdparty/systemd.git/commit
libudev-device: fix lazy loading of devlinks, properties and tags
authorTom Gundersen <teg@jklm.no>
Wed, 22 Apr 2015 17:01:50 +0000 (19:01 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 23 Apr 2015 20:31:25 +0000 (22:31 +0200)
commit378f61ebef6d29efce8512402a73df880c7d960c
tree41364b99a5d3bdeeb44face1226e68fec4d80233
parent4761e880aea33d06be9c6f198e4dcf5efb3baa9e
libudev-device: fix lazy loading of devlinks, properties and tags

If the underlying device has not read in the properties yet, the generation will be 0, so
make sure we trigger the reading at least once.
src/libudev/libudev-device-internal.h
src/libudev/libudev-device.c