diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-23 15:19:13 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-23 22:31:25 +0200 |
commit | 107f2e2526d476c6cc9b81a690391c111027d641 (patch) | |
tree | 7c6b71cc8e761b1083fb0ed42ba68f26a2fe15e5 /src/libsystemd/sd-device/device-internal.h | |
parent | 353f605867f9dac1eea4ad8ebaa92a004cbcd9e7 (diff) |
udevd: fix REMOVE handling
This reverts b67f944. Lazy loading of device properties does not work for devices
that are received over netlink, as these are sealed. Reinstate the unconditional
loading of the device db.
Reported by: Mantas Mikulėnas <grawity@gmail.com>.
Diffstat (limited to 'src/libsystemd/sd-device/device-internal.h')
-rw-r--r-- | src/libsystemd/sd-device/device-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-device/device-internal.h b/src/libsystemd/sd-device/device-internal.h index 59ec1a6d73..b96441de56 100644 --- a/src/libsystemd/sd-device/device-internal.h +++ b/src/libsystemd/sd-device/device-internal.h @@ -110,6 +110,7 @@ int device_new_aux(sd_device **ret); int device_add_property_aux(sd_device *device, const char *key, const char *value, bool db); int device_add_property_internal(sd_device *device, const char *key, const char *value); int device_read_uevent_file(sd_device *device); +int device_read_db_aux(sd_device *device, bool force); int device_set_syspath(sd_device *device, const char *_syspath, bool verify); int device_set_ifindex(sd_device *device, const char *ifindex); |