diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-27 10:11:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-03-27 10:11:48 +0100 |
commit | 225a9852eeee66f22a4135a660f18b70666c1c5f (patch) | |
tree | 787c31f8c93fd64683ff1dae3f0be1f6420fc140 /source | |
parent | 990476261c16f2f7044d88f99e4983f559a637f8 (diff) | |
download | samba-225a9852eeee66f22a4135a660f18b70666c1c5f.tar.gz |
opendb_tdb: enable oplocks per default
metze
Diffstat (limited to 'source')
-rw-r--r-- | source/ntvfs/common/opendb_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ntvfs/common/opendb_tdb.c b/source/ntvfs/common/opendb_tdb.c index be78e099581..fc05b342a8f 100644 --- a/source/ntvfs/common/opendb_tdb.c +++ b/source/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, |