s3:smbd: prepare delay_for_oplock() for directories
commit0a8619c8458fe1ab3445b9b6b22ec8ffd86e9e06
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Aug 2022 10:00:15 +0000 (19 12:00 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (20 00:34 +0000)
tree672ce8c3d9d567fb867a399de93bc97bf6533846
parent0bfdae92db09a2943a531f9dc0aa53c1c5c70f00
s3:smbd: prepare delay_for_oplock() for directories

We don't support directory leases yet, so it should be
an noop for now.

The point is that we want to call
delay_for_oplock(oplock_request=NO_OPLOCK)
for directories soon.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c