summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-07 21:50:17 +0200
committerVolker Lendecke <vl@samba.org>2010-10-08 21:11:46 +0200
commit703e4385991feb7a1c18651a03a9562a3964b8d6 (patch)
tree401ff955730506f7b4f4c456f2f179c6cb206da7 /source3
parent613a0b6c00690a9509129be8ae6a78101e3a21e8 (diff)
downloadsamba-703e4385991feb7a1c18651a03a9562a3964b8d6.tar.gz
samba-703e4385991feb7a1c18651a03a9562a3964b8d6.tar.bz2
samba-703e4385991feb7a1c18651a03a9562a3964b8d6.zip
s3: Hang the irix kernel oplocks off the NULL ctx
Just a fd_event to be cleaned up. The pipe is closed implicitly.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 2f8d72bf46..cbb8b16a6a 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