summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-07 22:01:28 +0200
committerVolker Lendecke <vlendec@samba.org>2010-10-08 20:48:11 +0000
commit615482a83d6c18ead7d18624f157170effdebdf8 (patch)
tree6a74efcf3c7b0de701b2a65842b1b8536a649f4e
parent703e4385991feb7a1c18651a03a9562a3964b8d6 (diff)
downloadsamba-615482a83d6c18ead7d18624f157170effdebdf8.tar.gz
samba-615482a83d6c18ead7d18624f157170effdebdf8.tar.bz2
samba-615482a83d6c18ead7d18624f157170effdebdf8.zip
s3: Hang the isilon kernel oplocks off the NULL context
All I see is a fd_event that does not need a special destructor. Tim, Steven, I've added the #error as well for you to remove after review. Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Oct 8 20:48:11 UTC 2010 on sn-devel-104
-rw-r--r--source3/smbd/oplock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index cbb8b16a6a..6f4d5780f3 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -926,7 +926,8 @@ bool init_oplocks(struct messaging_context *msg_ctx)
#elif HAVE_KERNEL_OPLOCKS_LINUX
koplocks = linux_init_kernel_oplocks(NULL);
#elif HAVE_ONEFS
- koplocks = onefs_init_kernel_oplocks(talloc_autofree_context());
+#error Isilon, please check if the NULL context is okay here. Thanks!
+ koplocks = onefs_init_kernel_oplocks(NULL);
#endif
}