mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r22021: use the pid specified in the individual locks, not the request pid, in
locking requests. This fixes a bug noticed by Ronnie Sahlberg (thanks!)
This commit is contained in:
parent
aac34f79d0
commit
b4ac085816
@ -125,7 +125,7 @@ static void pvfs_pending_lock_continue(void *private, enum pvfs_wait_notice reas
|
||||
*/
|
||||
status = brl_lock(pvfs->brl_context,
|
||||
f->brl_handle,
|
||||
req->smbpid,
|
||||
locks[pending->pending_lock].pid,
|
||||
locks[pending->pending_lock].offset,
|
||||
locks[pending->pending_lock].count,
|
||||
rw, pending);
|
||||
@ -174,7 +174,7 @@ static void pvfs_pending_lock_continue(void *private, enum pvfs_wait_notice reas
|
||||
|
||||
status = brl_lock(pvfs->brl_context,
|
||||
f->brl_handle,
|
||||
req->smbpid,
|
||||
locks[i].pid,
|
||||
locks[i].offset,
|
||||
locks[i].count,
|
||||
rw, pending);
|
||||
|
Loading…
Reference in New Issue
Block a user