s3:vfs: Correctly check if OFD locks should be enabled or not
commitc0858bc990ccda3ed498501e1bc009a7adbcbb83
authorAndreas Schneider <asn@samba.org>
Wed, 30 Jan 2019 17:45:34 +0000 (30 18:45 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000 (21 12:31 +0100)
treee12382af186d43c2bd790062a541e4270fb85090
parent53d2623b2fdb744cb8633372ddb4d2a786062627
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