summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index d4f52b7571..65355aec23 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1260,7 +1260,11 @@ static NTSTATUS regdb_store_keys_action(struct db_context *db,
W_ERROR_NOT_OK_GOTO_DONE(werr);
}
- werr = WERR_OK;
+ /*
+ * Update the seqnum in the container to possibly
+ * prevent next read from going to disk
+ */
+ werr = regsubkey_ctr_set_seqnum(store_ctx->ctr, dbwrap_get_seqnum(db));
done:
talloc_free(mem_ctx);