s3:smb2_lock: call change_to_user_by_fsp() when dbwrap_watched_watch* finishes
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Sep 2019 10:47:07 +0000 (12:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:39 +0000 (14:23 +0000)
commit8b565de1acb0fda121cb0bd4cff42d66ee027529
treeb6f7d4678cf4774a2aadd8ab9c4d506cd0a52a3a
parent28ac2cbaf92a8619f0380f024c5a220d9fdc4622
s3:smb2_lock: call change_to_user_by_fsp() when dbwrap_watched_watch* finishes

This is not strictly required as fd-based calls are used,
but it's more consistent to call SMB_VFS_BRL_LOCK_WINDOWS()
in the same environment on retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/smb2_lock.c