summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_lock.c b/source4/ntvfs/posix/pvfs_lock.c
index 2e0f77616b..4527cd3ed2 100644
--- a/source4/ntvfs/posix/pvfs_lock.c
+++ b/source4/ntvfs/posix/pvfs_lock.c
@@ -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);