summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/docbook/smbdotconf/locking/lockspincount.xml2
-rw-r--r--source3/param/loadparm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/docbook/smbdotconf/locking/lockspincount.xml b/docs/docbook/smbdotconf/locking/lockspincount.xml
index d308f5d845..eb5862699a 100644
--- a/docs/docbook/smbdotconf/locking/lockspincount.xml
+++ b/docs/docbook/smbdotconf/locking/lockspincount.xml
@@ -12,6 +12,6 @@
and FoxPro.
</para>
- <para>Default: <command moreinfo="none">lock spin count = 2</command></para>
+ <para>Default: <command moreinfo="none">lock spin count = 3</command></para>
</listitem>
</samba:parameter>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index e06b535db1..cd9b9d9a78 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1433,7 +1433,7 @@ static void init_globals(void)
Globals.min_passwd_length = MINPASSWDLENGTH; /* By Default, 5. */
Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */
Globals.enhanced_browsing = True;
- Globals.iLockSpinCount = 3; /* Try 2 times. */
+ Globals.iLockSpinCount = 3; /* Try 3 times. */
Globals.iLockSpinTime = 10; /* usec. */
#ifdef MMAP_BLACKLIST
Globals.bUseMmap = False;