From 107f2e2526d476c6cc9b81a690391c111027d641 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 23 Apr 2015 15:19:13 +0200 Subject: udevd: fix REMOVE handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 . --- src/libsystemd/sd-device/device-private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsystemd/sd-device/device-private.h') diff --git a/src/libsystemd/sd-device/device-private.h b/src/libsystemd/sd-device/device-private.h index f25248150e..49a7b66a2b 100644 --- a/src/libsystemd/sd-device/device-private.h +++ b/src/libsystemd/sd-device/device-private.h @@ -61,3 +61,4 @@ int device_new_from_synthetic_event(sd_device **new_device, const char *syspath, int device_tag_index(sd_device *dev, sd_device *dev_old, bool add); int device_update_db(sd_device *device); int device_delete_db(sd_device *device); +int device_read_db_force(sd_device *device); -- cgit v1.2.3-54-g00ecf