]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Cancel smbd_smb1_do_locks requests in reply_ntcancel
authorVolker Lendecke <vl@samba.org>
Wed, 19 Jun 2019 20:00:25 +0000 (22:00 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 20 Jun 2019 17:18:19 +0000 (17:18 +0000)
Last link to the specialized brlock queue

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

index ab8110bb35947f040428ae567f630da428ad1148..38d5b1f428b20591f90acd5612cff6ad63aed4ce 100644 (file)
@@ -1405,7 +1405,7 @@ void reply_ntcancel(struct smb_request *req)
        srv_cancel_sign_response(xconn);
        found = remove_pending_change_notify_requests_by_mid(sconn, req->mid);
        if (!found) {
-               remove_pending_lock_requests_by_mid_smb1(sconn, req->mid);
+               smbd_smb1_brl_finish_by_mid(sconn, req->mid);
        }
 
        DEBUG(3,("reply_ntcancel: cancel called on mid = %llu.\n",