git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffc490
)
Fixup correct timeout values for blocking lock timeouts (tested at connectathon
author
Jeremy Allison
<jra@samba.org>
Tue, 24 Feb 2004 00:03:18 +0000
(
00:03
+0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 24 Feb 2004 00:03:18 +0000
(
00:03
+0000)
by Herb).
Jeremy.
source/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source/smbd/reply.c
b/source/smbd/reply.c
index c4ff77bd8664a8fece6c5fb4cf24141e8d2711ff..ee474851267cd5c0386bfebe2e1c31db2bc7962c 100644
(file)
--- a/
source/smbd/reply.c
+++ b/
source/smbd/reply.c
@@
-4288,7
+4288,7
@@
no oplock granted on this file (%s).\n", fsp->fnum, fsp->fsp_name));
/* Setup the timeout in seconds. */
- lock_timeout = ((lock_timeout == -1) ? -1 : (lock_timeout+
499)/5
00);
+ lock_timeout = ((lock_timeout == -1) ? -1 : (lock_timeout+
999)/10
00);
/* Now do any requested locks */
data += ((large_file_format ? 20 : 10)*num_ulocks);