chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d7ce753
)
Store watch handle in db.
author
Scott James Remnant
<scott@ubuntu.com>
Mon, 23 Feb 2009 17:34:07 +0000
(17:34 +0000)
committer
Scott James Remnant
<scott@ubuntu.com>
Mon, 23 Feb 2009 17:34:07 +0000
(17:34 +0000)
udev/udev-watch.c
patch
|
blob
|
history
diff --git
a/udev/udev-watch.c
b/udev/udev-watch.c
index 33b493d512f5afd60d351f9e65033c8619f7fc0c..dd6d2f8b29477d8a87598021db39e16c34ef1350 100644
(file)
--- 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)