summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-27 10:11:48 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-27 10:11:48 +0100
commit71e2f7d2604932805762a841318cacc54cbc0b1c (patch)
tree5bf15c6a15d60b196dd040fd763c162b749f9fc6
parent83ea6d5f55dcb18da48cee880624ed4530f9c05f (diff)
downloadsamba-71e2f7d2604932805762a841318cacc54cbc0b1c.tar.gz
samba-71e2f7d2604932805762a841318cacc54cbc0b1c.tar.bz2
samba-71e2f7d2604932805762a841318cacc54cbc0b1c.zip
opendb_tdb: enable oplocks per default
metze (This used to be commit 225a9852eeee66f22a4135a660f18b70666c1c5f)
-rw-r--r--source4/ntvfs/common/opendb_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/common/opendb_tdb.c b/source4/ntvfs/common/opendb_tdb.c
index be78e09958..fc05b342a8 100644
--- a/source4/ntvfs/common/opendb_tdb.c
+++ b/source4/ntvfs/common/opendb_tdb.c
@@ -102,7 +102,7 @@ static struct odb_context *odb_tdb_init(TALLOC_CTX *mem_ctx,
odb->ntvfs_ctx = ntvfs_ctx;
/* leave oplocks disabled by default until the code is working */
- odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks", false);
+ odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks", true);
odb->lease_ctx = sys_lease_context_create(ntvfs_ctx->config, odb,
ntvfs_ctx->event_ctx,