Store watch handle in db.

This commit is contained in:
Scott James Remnant
2009-02-23 17:34:07 +00:00
parent d7ce7539d3
commit 25bdd197ec
+3
View File
@@ -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)