+
+void
+cf_open_group(void)
+{
+ struct cf_context *cc = cf_get_context();
+ cc->postpone_commit++;
+}
+
+int
+cf_close_group(void)
+{
+ struct cf_context *cc = cf_get_context();
+ ASSERT(cc->postpone_commit);
+ if (!--cc->postpone_commit)
+ return maybe_commit(cc);
+ else
+ return 0;
+}