smbd: Slightly simplify delay_for_oplock()
authorVolker Lendecke <vl@samba.org>
Wed, 15 May 2019 16:23:27 +0000 (18:23 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 16 May 2019 07:59:52 +0000 (07:59 +0000)
commit82a40271719b5e3b12d13d50312dc793add647b1
tree1ff6f177abff6b9d60378b5459f28ae29bcbd933
parent546394a90c6a6872b48e1d3784aa128785d85943
smbd: Slightly simplify delay_for_oplock()

We don't have to look at the leases.tdb record if it's our own lease.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu May 16 07:59:52 UTC 2019 on sn-devel-184
source3/smbd/open.c