]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:vfs: Correctly check if OFD locks should be enabled or not
authorAndreas Schneider <asn@samba.org>
Wed, 30 Jan 2019 17:45:34 +0000 (18:45 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000 (12:31 +0100)
commit2f8bd74b67cda93a4bc8918cd6b1f950aa109b00
tree610a5b3b5e7b01b2166a066dae0535f1a6ee4dde
parentb9120174c6699696ffe08ec1b969544d9f340f8d
s3:vfs: Correctly check if OFD locks should be enabled or not

Also the smb.conf options should only be checked once and a reload of
the config should not switch to a different locking mode.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13770

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Feb  9 03:43:50 CET 2019 on sn-devel-144

(cherry picked from commit 7ff94b18e2e39567ef7a208084cc5c914c39d3bd)
source3/include/proto.h
source3/lib/util.c
source3/modules/vfs_default.c
source3/smbd/files.c