From: Volker Lendecke Date: Thu, 7 Oct 2010 19:50:17 +0000 (+0200) Subject: s3: Hang the irix kernel oplocks off the NULL ctx X-Git-Tag: samba-4.0.0alpha14~2224 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=703e4385991feb7a1c18651a03a9562a3964b8d6 s3: Hang the irix kernel oplocks off the NULL ctx Just a fd_event to be cleaned up. The pipe is closed implicitly. --- diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 2f8d72bf46a..cbb8b16a6a7 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -922,7 +922,7 @@ bool init_oplocks(struct messaging_context *msg_ctx) if (lp_kernel_oplocks()) { #if HAVE_KERNEL_OPLOCKS_IRIX - koplocks = irix_init_kernel_oplocks(talloc_autofree_context()); + koplocks = irix_init_kernel_oplocks(NULL); #elif HAVE_KERNEL_OPLOCKS_LINUX koplocks = linux_init_kernel_oplocks(NULL); #elif HAVE_ONEFS