smbd: Add "lock_flav" to smbd_do_unlocking()
authorVolker Lendecke <vl@samba.org>
Fri, 14 Jun 2019 11:39:04 +0000 (04:39 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 20 Jun 2019 17:18:17 +0000 (17:18 +0000)
commitb3d533aa585a6d69855f10fafbf6d68e98597996
treea1488bb4625042088fc87d51bbf79e5bf43a2015
parent4d6152b1bfa7b5c624a26bcf1e662d77faffb4f2
smbd: Add "lock_flav" to smbd_do_unlocking()

The next commits will pass all direct "do_unlock" calls through
smbd_do_unlocking(). Why? Unlocking will later on require that we take
the share mode lock for the file in question while the unlock is
happening, and this should be in one central place.

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