diff options
author | Volker Lendecke <vl@samba.org> | 2014-03-26 14:41:03 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-03-31 22:52:14 +0200 |
commit | d6db35d7a564ee556b74131ef4c3a3cdb8097e14 (patch) | |
tree | 1576430f97d46752b41efedbc8970d2eddf79f8e /source4/dsdb | |
parent | f995c6e6d4bfe4a50ca0017c722bdfb329121958 (diff) | |
download | samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.tar.gz |
tdb_wrap: Remove tdb_wrap_open_ again
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/partition_metadata.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/schema_load.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition_metadata.c b/source4/dsdb/samdb/ldb_modules/partition_metadata.c index 8441b13d472..1db800ec6af 100644 --- a/source4/dsdb/samdb/ldb_modules/partition_metadata.c +++ b/source4/dsdb/samdb/ldb_modules/partition_metadata.c @@ -240,7 +240,7 @@ static int partition_metadata_open(struct ldb_module *module, bool create) lp_ctx = talloc_get_type_abort(ldb_get_opaque(ldb, "loadparm"), struct loadparm_context); - data->metadata->db = tdb_wrap_open_( + data->metadata->db = tdb_wrap_open( data->metadata, filename, 10, lpcfg_tdb_flags(lp_ctx, TDB_DEFAULT), open_flags, 0660); if (data->metadata->db == NULL) { diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c index 2e9eb5cad6e..25a780150a8 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_load.c +++ b/source4/dsdb/samdb/ldb_modules/schema_load.c @@ -90,9 +90,9 @@ static int schema_metadata_open(struct ldb_module *module) lp_ctx = talloc_get_type_abort(ldb_get_opaque(ldb, "loadparm"), struct loadparm_context); - data->metadata = tdb_wrap_open_(data, filename, 10, - lpcfg_tdb_flags(lp_ctx, TDB_DEFAULT), - open_flags, 0660); + data->metadata = tdb_wrap_open(data, filename, 10, + lpcfg_tdb_flags(lp_ctx, TDB_DEFAULT), + open_flags, 0660); if (data->metadata == NULL) { talloc_free(tmp_ctx); return LDB_ERR_OPERATIONS_ERROR; |