smbd: use is_lease_stat_open() in delay_for_oplock()
authorRalph Boehme <slow@samba.org>
Thu, 5 Mar 2020 14:16:07 +0000 (15:16 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 30 Apr 2020 21:10:43 +0000 (21:10 +0000)
commit62621bd686a91328ae378cd56f9876c66be8eac4
treeaf3a173678d86c2b32e0681bb8498c7332440f48
parent9b0a31af128f9ec2551b6cca7200903d8e24a6f4
smbd: use is_lease_stat_open() in delay_for_oplock()

This allows READ_CONTROL_ACCESS in the access mask as stat open if a file has
only leases.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 30 21:10:43 UTC 2020 on sn-devel-184
selftest/knownfail.d/samba3.smb2.lease [deleted file]
source3/smbd/open.c