s3: Remove smbd_messaging_context() from linux_oplock_signal_handler()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 17:44:57 +0000 (19:44 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:28 +0000 (11:06 +0200)
source3/smbd/oplock_linux.c

index c60c74517717da2eea9ae4d7bf007a99734094fa..fe9c58d7ecdabd33ad342e90f5076894a697e5f4 100644 (file)
@@ -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);
 }
 
 /****************************************************************************