diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-02-23 17:34:07 +0000 |
---|---|---|
committer | Scott James Remnant <scott@ubuntu.com> | 2009-02-23 17:34:07 +0000 |
commit | 25bdd197ec23ad62e533991b18119b5fce68b4a6 (patch) | |
tree | 869e79b733aff46065bc3e9d2048296d99bdd0d9 | |
parent | d7ce7539d327780fba18c8ae8951e1ff50cd0b3e (diff) |
Store watch handle in db.
-rw-r--r-- | udev/udev-watch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udev-watch.c b/udev/udev-watch.c index 33b493d512..dd6d2f8b29 100644 --- a/udev/udev-watch.c +++ b/udev/udev-watch.c @@ -155,6 +155,9 @@ void udev_watch_begin(struct udev *udev, struct udev_device *dev) util_create_path(udev, filename); unlink(filename); symlink(udev_device_get_syspath(dev), filename); + + udev_device_set_watch_handle(dev, wd); + udev_device_update_db(dev); } void udev_watch_clear(struct udev *udev, struct udev_device *dev) |