aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_transaction.c
diff options
context:
space:
mode:
authorChristian Limpach <Christian.Limpach@xensource.com>2006-10-12 11:25:32 +0100
committerChristian Limpach <Christian.Limpach@xensource.com>2006-10-12 11:25:32 +0100
commit88bea7620208b7e19ab417a597c190486ecc1336 (patch)
treede7ba24caa1af24b4ee26fdadb3a769015c07492 /tools/xenstore/xenstored_transaction.c
parent917f2a4a476e36b07591cb373afe62cf221b5780 (diff)
downloadxen-88bea7620208b7e19ab417a597c190486ecc1336.tar.gz
xen-88bea7620208b7e19ab417a597c190486ecc1336.tar.bz2
xen-88bea7620208b7e19ab417a597c190486ecc1336.zip
[xenstore] Don't limit the number of concurrent transactions for domain0 connections
since both xend and the xenstore-* utilities used in the hotplug scripts can easily reach the limit and we trust them anyway. Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Diffstat (limited to 'tools/xenstore/xenstored_transaction.c')
-rw-r--r--tools/xenstore/xenstored_transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_transaction.c b/tools/xenstore/xenstored_transaction.c
index fb20287f99..69cc520bb9 100644
--- a/tools/xenstore/xenstored_transaction.c
+++ b/tools/xenstore/xenstored_transaction.c
@@ -133,7 +133,7 @@ void do_transaction_start(struct connection *conn, struct buffered_data *in)
return;
}
- if (conn->transaction_started > quota_max_transaction) {
+ if (conn->id && conn->transaction_started > quota_max_transaction) {
send_error(conn, ENOSPC);
return;
}