diff options
Diffstat (limited to 'source3/smbd/smb2_lock.c')
-rw-r--r-- | source3/smbd/smb2_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c index 7a6bace5c7..bff387c57b 100644 --- a/source3/smbd/smb2_lock.c +++ b/source3/smbd/smb2_lock.c @@ -703,7 +703,7 @@ static void remove_pending_lock(struct smbd_smb2_lock_state *state, for(i = blr->lock_num - 1; i >= 0; i--) { struct smbd_lock_element *e = &state->locks[i]; - do_unlock(smbd_messaging_context(), + do_unlock(blr->fsp->conn->sconn->msg_ctx, blr->fsp, e->smblctx, e->count, |