oxenstored: allow updates regardless of quota
authorZheng Li <zheng.li@eu.citrix.com>
Thu, 31 Oct 2013 16:32:56 +0000 (16:32 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 11 Nov 2013 15:41:18 +0000 (15:41 +0000)
commited4f4bb739c4c25a0bc48712960a3b6fb9b465c2
treea721ad4fa44fb223487bd7693045aa0faad8da67
parentb376f74e504c1258045e1ef97af1ae42cb267842
oxenstored: allow updates regardless of quota

Allow a domain updating existing xenstore keys even if it has already reached
its max entries limit

As updating existing key won't increase the number of entries belonging to a
domain, we should avoid checking the max entries limit prematurely. The patch
addresses this issue in the following functions: write/add, mkdir, setperms.

Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/ocaml/xenstored/store.ml