summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-03-30 15:31:19 +0200
committerJeremy Allison <jra@samba.org>2012-04-11 11:11:39 -0700
commit2a36408d4020b67d94f8750951bfead069ca1206 (patch)
treeddcd813e5b39b93cf161f2e37b1a18234837e44b /source3/smbd
parent30203bda66259d78f07233854118f0f4a3ee673c (diff)
downloadsamba-2a36408d4020b67d94f8750951bfead069ca1206.tar.gz
samba-2a36408d4020b67d94f8750951bfead069ca1206.tar.bz2
samba-2a36408d4020b67d94f8750951bfead069ca1206.zip
s3:param convert kernel oplocks to share parameter
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-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 f760171c3a..d523da644d 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -978,7 +978,7 @@ bool init_oplocks(struct smbd_server_connection *sconn)
messaging_register(sconn->msg_ctx, sconn, MSG_SMB_OPEN_RETRY,
process_open_retry_message);
- if (lp_kernel_oplocks()) {
+ if (lp_kernel_oplocks(-1)) {
#if HAVE_KERNEL_OPLOCKS_IRIX
koplocks = irix_init_kernel_oplocks(sconn);
#elif HAVE_KERNEL_OPLOCKS_LINUX