]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
tools/oxenstored: Make Quota.t pure
authorEdwin Török <edwin.torok@cloud.com>
Wed, 31 Jan 2024 10:52:56 +0000 (10:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Feb 2024 17:43:06 +0000 (17:43 +0000)
commit098d868e52ac0165b7f36e22b767ea70cef70054
tree1e2d500344699f3bf3d8e6a50c678de52a89f82b
parentb6cf604207fd0a04451a48f2ce6d05fb66c612ab
tools/oxenstored: Make Quota.t pure

Now that we no longer have a hashtable inside we can make Quota.t pure, and
push the mutable update to its callers.  Store.t already had a mutable Quota.t
field.

No functional change.

Signed-off-by: Edwin Török <edwin.torok@cloud.com>
Acked-by: Christian Lindig <christian.lindig@cloud.com>
tools/ocaml/xenstored/quota.ml
tools/ocaml/xenstored/store.ml