smbd: Move delay_for_oplock() down
commit7a6fa34130e8e6bea4672d08637af49097654119
authorVolker Lendecke <vl@samba.org>
Sat, 10 Aug 2019 19:17:05 +0000 (10 21:17 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Aug 2019 23:14:39 +0000 (19 23:14 +0000)
tree52640f4753f8753bcf4438ba85cd88663f249c00
parenta4192bc70d7717a5072ccdd8e53b7dda7e6d9c98
smbd: Move delay_for_oplock() down

We'll merge grant_fsp_oplock_type() into this function. This makes the next
commit smaller, and the newly extended delay_for_oplocks will for example
reference static file_has_brlocks() above. Make forward declarations
unnecessary.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c