s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_str...
authorJeremy Allison <jra@samba.org>
Tue, 16 Nov 2021 23:00:03 +0000 (15:00 -0800)
committerNoel Power <npower@samba.org>
Thu, 6 Jan 2022 15:11:38 +0000 (15:11 +0000)
commit85e131b54ba91f349316d9d637b4344d1a642bc5
tree784806b3f419968b0e285548742c544927e53821
parent9a0212800cbc51e51e069334f1d5f3aa0e239086
s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct().

Make it explicit. When we add POSIX handles to SMB2 we will only
look at the handle type. lp_posix_cifsu_locktype() already does this,
but hidden inside init_strict_lock_struct() makes it hard to see.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/locking/locking.c
source3/locking/proto.h
source3/modules/vfs_btrfs.c
source3/modules/vfs_default.c
source3/smbd/aio.c
source3/smbd/reply.c
source3/smbd/smb2_ioctl_filesys.c
source3/smbd/smb2_read.c
source3/smbd/smb2_write.c