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/ntvfs | |
parent | f995c6e6d4bfe4a50ca0017c722bdfb329121958 (diff) | |
download | samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.tar.gz samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.tar.xz samba-d6db35d7a564ee556b74131ef4c3a3cdb8097e14.zip |
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/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/python/pyposix_eadb.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/posix/python/pyposix_eadb.c b/source4/ntvfs/posix/python/pyposix_eadb.c index c04d329f141..9db0ddb770b 100644 --- a/source4/ntvfs/posix/python/pyposix_eadb.c +++ b/source4/ntvfs/posix/python/pyposix_eadb.c @@ -50,7 +50,7 @@ static PyObject *py_wrap_setxattr(PyObject *self, PyObject *args) blob.length = blobsize; mem_ctx = talloc_new(NULL); - eadb = tdb_wrap_open_( + eadb = tdb_wrap_open( mem_ctx, tdbname, 50000, lpcfg_tdb_flags(py_default_loadparm_context(mem_ctx), TDB_DEFAULT), @@ -85,7 +85,7 @@ static PyObject *py_wrap_getxattr(PyObject *self, PyObject *args) return NULL; mem_ctx = talloc_new(NULL); - eadb = tdb_wrap_open_( + eadb = tdb_wrap_open( mem_ctx, tdbname, 50000, lpcfg_tdb_flags(py_default_loadparm_context(mem_ctx), TDB_DEFAULT), diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index a9ba44f20bf..304a9ff8fe5 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -120,7 +120,7 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) /* allow xattrs to be stored in a external tdb */ eadb = share_string_option(pvfs, scfg, PVFS_EADB, NULL); if (eadb != NULL) { - pvfs->ea_db = tdb_wrap_open_( + pvfs->ea_db = tdb_wrap_open( pvfs, eadb, 50000, lpcfg_tdb_flags(pvfs->ntvfs->ctx->lp_ctx, TDB_DEFAULT), O_RDWR|O_CREAT, 0600); |