summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-02-10 19:49:05 +0100
committerStefan Metzmacher <metze@samba.org>2012-02-10 21:48:18 +0100
commit389bb4fbe175af8bfb3b75f4ed69529e4d3e075b (patch)
tree2cded0b85d20b9b1484d55d5e7eba397ea1ce84b
parente87d98c0fcf439a65031b072bebe0fed296cf59e (diff)
downloadsamba-389bb4fbe175af8bfb3b75f4ed69529e4d3e075b.tar.gz
samba-389bb4fbe175af8bfb3b75f4ed69529e4d3e075b.tar.bz2
samba-389bb4fbe175af8bfb3b75f4ed69529e4d3e075b.zip
s3:smbd/oplock_linux: don't overwrite private_data
We set ctx->private_data = sconn a few lines above and expect 'sconn' in the signal event handler. Thanks to Christian Ambach <ambi@samba.org> for the bug report. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 21:48:18 CET 2012 on sn-devel-104
-rw-r--r--source3/smbd/oplock_linux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c
index f796e8c9b8..190578e0cc 100644
--- a/source3/smbd/oplock_linux.c
+++ b/source3/smbd/oplock_linux.c
@@ -228,8 +228,6 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
return NULL;
}
- ctx->private_data = se;
-
DEBUG(3,("Linux kernel oplocks enabled\n"));
return ctx;