mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Remove procid_self() from push_blocking_lock_request_smb2()
This commit is contained in:
parent
c89b55b573
commit
faef081e96
@ -635,10 +635,10 @@ bool push_blocking_lock_request_smb2( struct byte_range_lock *br_lck,
|
|||||||
blr->blr_private = NULL;
|
blr->blr_private = NULL;
|
||||||
|
|
||||||
/* Add a pending lock record for this. */
|
/* Add a pending lock record for this. */
|
||||||
status = brl_lock(smbd_messaging_context(),
|
status = brl_lock(sconn->msg_ctx,
|
||||||
br_lck,
|
br_lck,
|
||||||
smblctx,
|
smblctx,
|
||||||
procid_self(),
|
sconn_server_id(sconn),
|
||||||
offset,
|
offset,
|
||||||
count,
|
count,
|
||||||
lock_type == READ_LOCK ? PENDING_READ_LOCK : PENDING_WRITE_LOCK,
|
lock_type == READ_LOCK ? PENDING_READ_LOCK : PENDING_WRITE_LOCK,
|
||||||
|
Loading…
Reference in New Issue
Block a user