]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:ldb: Use tdb_traverse_read() in ldb_kv_index_sub_transaction_commit()
authorAndreas Schneider <asn@samba.org>
Thu, 2 May 2024 14:38:47 +0000 (16:38 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Sep 2024 09:59:34 +0000 (09:59 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Sep 26 09:59:34 UTC 2024 on atb-devel-224

lib/ldb/ldb_key_value/ldb_kv_index.c

index cbc594e545716bf619d3691e2ec867f2aaa70b4b..7f5361fe63f9bd0e870a992249acb4fdab572fe6 100644 (file)
@@ -4041,7 +4041,7 @@ int ldb_kv_index_sub_transaction_commit(struct ldb_kv_private *ldb_kv)
        if (ldb_kv->nested_idx_ptr->itdb == NULL) {
                return LDB_SUCCESS;
        }
-       tdb_traverse(
+       tdb_traverse_read(
            ldb_kv->nested_idx_ptr->itdb,
            ldb_kv_sub_transaction_traverse,
            ldb_kv->module);