summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2020-04-03 08:02:23 +0200
committerJeremy Allison <jra@samba.org>2020-04-03 19:05:44 +0000
commite940a41c2b2a80087086e7bd63e36c410225b586 (patch)
treed95c113e0c12d04b0cabcc09cf4337a2341404d6 /source3/locking
parent34b4effc04b44e22809227479da2d794ac88e447 (diff)
downloadsamba-e940a41c2b2a80087086e7bd63e36c410225b586.tar.gz
smbd: move files_struct.use_ofd_locks to a bitfield
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index e7d773a6f66..32f8317776e 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -585,7 +585,7 @@ int fd_close_posix(const struct files_struct *fsp)
if (!lp_locking(fsp->conn->params) ||
!lp_posix_locking(fsp->conn->params) ||
- fsp->use_ofd_locks)
+ fsp->fsp_flags.use_ofd_locks)
{
/*
* No locking or POSIX to worry about or we are using POSIX