mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:smb2_lock: use fsp->fnum as locking context
fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze
This commit is contained in:
parent
3b2e5929ec
commit
4ae96bb952
@ -335,7 +335,7 @@ static struct tevent_req *smbd_smb2_lock_send(TALLOC_CTX *mem_ctx,
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
|
||||
locks[i].smblctx = in_file_id_volatile;
|
||||
locks[i].smblctx = fsp->fnum;
|
||||
locks[i].offset = in_locks[i].offset;
|
||||
locks[i].count = in_locks[i].length;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user