summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock_irix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock_irix.c b/source3/smbd/oplock_irix.c
index dd32177988..fadad54134 100644
--- a/source3/smbd/oplock_irix.c
+++ b/source3/smbd/oplock_irix.c
@@ -283,7 +283,7 @@ static void irix_oplocks_read_fde_handler(struct event_context *ev,
files_struct *fsp;
fsp = irix_oplock_receive_message(ctx->ctx);
- break_kernel_oplock(smbd_messaging_context(), fsp);
+ break_kernel_oplock(fsp->conn->sconn->msg_ctx, fsp);
}
/****************************************************************************