git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb710d
)
SMBlockingX timeouts are in units of 2 milliseconds, not 1
author
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2003 10:42:16 +0000
(10:42 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2003 10:42:16 +0000
(10:42 +0000)
(This used to be commit
999cde3227210c90132ade3812e964087f04e541
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 7f0ffd7577c8e691539e314e656499c5c7b7ebb2..be51a328911e3c0ab859f2d67fb01e27eb9cab1f 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-3941,7
+3941,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+
999)/10
00);
+ lock_timeout = ((lock_timeout == -1) ? -1 : (lock_timeout+
499)/5
00);
/* Now do any requested locks */
data += ((large_file_format ? 20 : 10)*num_ulocks);