diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-09-12 12:31:41 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-09-12 12:31:41 +0000 |
commit | d9d954e1878fc03910aed144f01f632b111c1aa0 (patch) | |
tree | 3443066439e6a0c485b0e4318250cc1de3e8d451 /tools/xenstore/xenstored_watch.c | |
parent | ec564e53d5b5559de0bb10b9e1023eb0db7943ee (diff) | |
download | xen-d9d954e1878fc03910aed144f01f632b111c1aa0.tar.gz xen-d9d954e1878fc03910aed144f01f632b111c1aa0.tar.bz2 xen-d9d954e1878fc03910aed144f01f632b111c1aa0.zip |
Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/xenstored_watch.c')
-rw-r--r-- | tools/xenstore/xenstored_watch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c index ebd13111d5..b413f4c697 100644 --- a/tools/xenstore/xenstored_watch.c +++ b/tools/xenstore/xenstored_watch.c @@ -135,11 +135,8 @@ void fire_watches(struct connection *conn, const char *node, bool recurse) if (conn && conn->transaction) return; - /* Create an event for each watch. Don't send to self. */ + /* Create an event for each watch. */ list_for_each_entry(i, &connections, list) { - if (i == conn) - continue; - list_for_each_entry(watch, &i->watches, list) { if (is_child(node, watch->node)) add_event(i, watch, node); |