diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-03-27 20:50:39 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-03-27 20:50:39 +1100 |
commit | 91ae032c53d9a121a241a9886a1f873db81d7d88 (patch) | |
tree | 9c7e58d7e1a7a8815b7023cfc01019e0abdf8ad2 /source4/param | |
parent | 7f2927528c230c9e44634d1aa4fb677596603056 (diff) | |
download | samba-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.c | 4 |
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)); } |