diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-10 11:37:10 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-10 11:37:10 +0100 |
commit | 4d423f9a656ad65e814f15b7a3015492ddb3f1be (patch) | |
tree | 6fea2ef7aee77d32e4f17b644599ad1329c5fbf2 /tools/xenstore/xenstored_domain.c | |
parent | 5fec4cf7660cbcd50a016750b5de37394c6a65b1 (diff) | |
download | xen-4d423f9a656ad65e814f15b7a3015492ddb3f1be.tar.gz xen-4d423f9a656ad65e814f15b7a3015492ddb3f1be.tar.bz2 xen-4d423f9a656ad65e814f15b7a3015492ddb3f1be.zip |
No need to gate xenstored reading requests from a
connection on whether there are pending replies/watches.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/xenstored_domain.c')
-rw-r--r-- | tools/xenstore/xenstored_domain.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/xenstore/xenstored_domain.c b/tools/xenstore/xenstored_domain.c index 15c98bfb49..e35990b12d 100644 --- a/tools/xenstore/xenstored_domain.c +++ b/tools/xenstore/xenstored_domain.c @@ -276,8 +276,7 @@ void handle_event(void) bool domain_can_read(struct connection *conn) { - return (list_empty(&conn->out_list) && - buffer_has_input(conn->domain->input)); + return buffer_has_input(conn->domain->input); } bool domain_can_write(struct connection *conn) |