chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:09:57 +0000 (08:09 +0100)
commit9a2ee18b7172fae066f173017c10bad1cfb5913d
tree13ab809b3ad96d9f4bd9ec393f6c28db6ad1a594
parent4a91795b56e8e4358f7463f40b45ee4ee593d99c
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/libsystemd/sd-device/device-enumerator-private.h