summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-27 20:40:40 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-27 20:40:40 +1100
commit7f2927528c230c9e44634d1aa4fb677596603056 (patch)
tree8bcc85924e18e6236a2ed732b559853982d041d8 /source4
parentc24b8cbe5351d2b192480ff8cbd02b3f048b8e8a (diff)
downloadsamba-7f2927528c230c9e44634d1aa4fb677596603056.tar.gz
samba-7f2927528c230c9e44634d1aa4fb677596603056.tar.bz2
samba-7f2927528c230c9e44634d1aa4fb677596603056.zip
Fix references to ntvfs share config
Andrew Bartlett (This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
Diffstat (limited to 'source4')
-rw-r--r--source4/cluster/ctdb/opendb_ctdb.c2
-rw-r--r--source4/ntvfs/common/opendb_tdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/cluster/ctdb/opendb_ctdb.c b/source4/cluster/ctdb/opendb_ctdb.c
index f0366ceb49..ed09cf0bbc 100644
--- a/source4/cluster/ctdb/opendb_ctdb.c
+++ b/source4/cluster/ctdb/opendb_ctdb.c
@@ -97,7 +97,7 @@ static struct odb_context *odb_ctdb_init(TALLOC_CTX *mem_ctx,
odb->ntvfs_ctx = ntvfs_ctx;
/* leave oplocks disabled by default until the code is working */
- odb->oplocks = share_bool_option(ntvfs->ctx->config, SHARE_OPLOCKS, SHARE_OPLOCKS_DEFAULT);
+ odb->oplocks = share_bool_option(ntvfs_ctx->config, SHARE_OPLOCKS, SHARE_OPLOCKS_DEFAULT);
return odb;
}
diff --git a/source4/ntvfs/common/opendb_tdb.c b/source4/ntvfs/common/opendb_tdb.c
index 40a1d27f30..99c0a95c20 100644
--- a/source4/ntvfs/common/opendb_tdb.c
+++ b/source4/ntvfs/common/opendb_tdb.c
@@ -101,7 +101,7 @@ static struct odb_context *odb_tdb_init(TALLOC_CTX *mem_ctx,
odb->ntvfs_ctx = ntvfs_ctx;
- odb->oplocks = share_bool_option(ntvfs_ctx->ctx->config, SHARE_OPLOCKS, SHARE_OPLOCKS_DEFAULT);
+ odb->oplocks = share_bool_option(ntvfs_ctx->config, SHARE_OPLOCKS, SHARE_OPLOCKS_DEFAULT);
odb->lease_ctx = sys_lease_context_create(ntvfs_ctx->config, odb,
ntvfs_ctx->event_ctx,