diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-29 05:37:39 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-29 05:48:45 +0100 |
commit | e7f32890335886cfa0f2f835413aed5af8ac2b53 (patch) | |
tree | 73c60658fbcfc52c5215fc5f8760d266b7249386 /src/udev.h | |
parent | a3642381eba4697b567cf4f21145532866c2e369 (diff) |
do not stop rule processing when device node is no longer around
Device nodes might have been deleted again by the kernel before an
'add' or 'change' event is even started. We need to run all rules,
regardless of the state in /dev.
Diffstat (limited to 'src/udev.h')
-rw-r--r-- | src/udev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev.h b/src/udev.h index 9ed6804fe7..bc051c9b65 100644 --- a/src/udev.h +++ b/src/udev.h @@ -89,8 +89,8 @@ void udev_watch_end(struct udev *udev, struct udev_device *dev); struct udev_device *udev_watch_lookup(struct udev *udev, int wd); /* udev-node.c */ -int udev_node_add(struct udev_device *dev, mode_t mode, uid_t uid, gid_t gid); -int udev_node_remove(struct udev_device *dev); +void udev_node_add(struct udev_device *dev, mode_t mode, uid_t uid, gid_t gid); +void udev_node_remove(struct udev_device *dev); void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old); /* udev-ctrl.c */ |