summaryrefslogtreecommitdiff
path: root/source3/smbd/blocking.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/blocking.c')
-rw-r--r--source3/smbd/blocking.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index cb48cc8c1c..2a0024c493 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -158,6 +158,20 @@ bool push_blocking_lock_request( struct byte_range_lock *br_lck,
struct blocking_lock_record *blr;
NTSTATUS status;
+ if (req->smb2req) {
+ return smb2_push_blocking_lock_request(br_lck,
+ req,
+ fsp,
+ lock_timeout,
+ lock_num,
+ lock_pid,
+ lock_type,
+ lock_flav,
+ offset,
+ count,
+ blocking_pid);
+ }
+
if(req_is_in_chain(req)) {
DEBUG(0,("push_blocking_lock_request: cannot queue a chained request (currently).\n"));
return False;