mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
Only MULTIPLE-UNLOCK test left to fix !
Jeremy.
This commit is contained in:
parent
31b12622cf
commit
5b7163a23d
@ -341,7 +341,7 @@ static struct tevent_req *smbd_smb2_lock_send(TALLOC_CTX *mem_ctx,
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
|
||||
locks[i].smblctx = in_smbpid;
|
||||
locks[i].smblctx = in_file_id_volatile;
|
||||
locks[i].offset = in_locks[i].offset;
|
||||
locks[i].count = in_locks[i].length;
|
||||
|
||||
|
@ -261,7 +261,7 @@ static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
init_strict_lock_struct(fsp,
|
||||
in_smbpid,
|
||||
in_file_id_volatile,
|
||||
in_offset,
|
||||
in_length,
|
||||
READ_LOCK,
|
||||
|
@ -254,7 +254,7 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
init_strict_lock_struct(fsp,
|
||||
in_smbpid,
|
||||
in_file_id_volatile,
|
||||
in_offset,
|
||||
in_data.length,
|
||||
WRITE_LOCK,
|
||||
|
Loading…
x
Reference in New Issue
Block a user