diff options
-rw-r--r-- | source3/smbd/oplock_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index c60c745177..fe9c58d7ec 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/smbd/oplock_linux.c @@ -102,7 +102,7 @@ static void linux_oplock_signal_handler(struct tevent_context *ev_ctx, DEBUG(0,("linux_oplock_signal_handler: failed to find fsp for file fd=%d (file was closed ?)\n", fd )); return; } - break_kernel_oplock(smbd_messaging_context(), fsp); + break_kernel_oplock(fsp->conn->sconn->msg_ctx, fsp); } /**************************************************************************** |