s3:smbd: share_mode_flags_set() takes SMB2_LEASE_* values
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Aug 2022 08:49:13 +0000 (10:49 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 18 Aug 2022 18:45:34 +0000 (18:45 +0000)
commit7592aad4d7a84d0ac66a156a22af3ad77803e55c
treed43c1094aee9e89175a29dd680bad5211470658a
parentcf5f7b1489930f6d64c3e3512f116ccf286d4605
s3:smbd: share_mode_flags_set() takes SMB2_LEASE_* values

We currently only ever pass SMB2_LEASE_READ and both
have the same value of 0x1, so for now it's only cosmetic,
but that will change soon.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c
source3/smbd/smb2_oplock.c