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)
committerJeremy Allison <jra@samba.org>
Sat, 9 Feb 2019 02:43:50 +0000 (03:43 +0100)
commit7ff94b18e2e39567ef7a208084cc5c914c39d3bd
tree3720ccd9b17e3ef61df0cfb2a3180e9e63f2ff78
parent2ff2594b2bd878928cec30bc72a95a6d38bee154
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.

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
source3/include/proto.h
source3/lib/util.c
source3/modules/vfs_default.c
source3/smbd/files.c