summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-23 15:19:13 +0200
committerTom Gundersen <teg@jklm.no>2015-04-23 22:31:25 +0200
commit107f2e2526d476c6cc9b81a690391c111027d641 (patch)
tree7c6b71cc8e761b1083fb0ed42ba68f26a2fe15e5 /src/libudev/libudev-private.h
parent353f605867f9dac1eea4ad8ebaa92a004cbcd9e7 (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/libudev/libudev-private.h')
-rw-r--r--src/libudev/libudev-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h
index 32c5e19a12..cbe84aa0dd 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/libudev-private.h
@@ -67,6 +67,7 @@ int udev_device_get_ifindex(struct udev_device *udev_device);
void udev_device_set_info_loaded(struct udev_device *device);
bool udev_device_get_db_persist(struct udev_device *udev_device);
void udev_device_set_db_persist(struct udev_device *udev_device);
+void udev_device_read_db(struct udev_device *udev_device);
/* libudev-device-private.c */
int udev_device_update_db(struct udev_device *udev_device);