git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9904762
)
opendb_tdb: enable oplocks per default
author
Stefan Metzmacher
<metze@samba.org>
Thu, 27 Mar 2008 09:11:48 +0000
(10:11 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 27 Mar 2008 09:11:48 +0000
(10:11 +0100)
metze
source/ntvfs/common/opendb_tdb.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/common/opendb_tdb.c
b/source/ntvfs/common/opendb_tdb.c
index be78e0995810497e8fad6da7e75caaff1760d6b8..fc05b342a8f21176b60a464eaada02d4d02534c7 100644
(file)
--- 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",
fals
e);
+ odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks",
tru
e);
odb->lease_ctx = sys_lease_context_create(ntvfs_ctx->config, odb,
ntvfs_ctx->event_ctx,