summaryrefslogtreecommitdiffstats
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-27 20:50:39 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-27 20:50:39 +1100
commit91ae032c53d9a121a241a9886a1f873db81d7d88 (patch)
tree9c7e58d7e1a7a8815b7023cfc01019e0abdf8ad2 /source4/param
parent7f2927528c230c9e44634d1aa4fb677596603056 (diff)
downloadsamba-91ae032c53d9a121a241a9886a1f873db81d7d88.tar.gz
samba-91ae032c53d9a121a241a9886a1f873db81d7d88.tar.xz
samba-91ae032c53d9a121a241a9886a1f873db81d7d88.zip
Actually call into lp_oplocks() in share_classic backend.
Andrew Bartlett (This used to be commit 2c18482b1983b4e2764beccc20f08e9b3074816a)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share_classic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index f5a6fa67a4..c3adc4473c 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -213,6 +213,10 @@ static bool sclassic_bool_option(struct share_config *scfg, const char *opt_name
return lp_strict_locking(s, lp_default_service(lp_ctx));
}
+ if (strcmp(opt_name, SHARE_OPLOCKS) == 0) {
+ return lp_oplocks(s, lp_default_service(lp_ctx));
+ }
+
if (strcmp(opt_name, SHARE_STRICT_SYNC) == 0) {
return lp_strict_sync(s, lp_default_service(lp_ctx));
}