git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
388bf36
)
smbd: Make loop index type match loop limit
author
Volker Lendecke
<vl@samba.org>
Tue, 15 Oct 2013 09:56:21 +0000
(09:56 +0000)
committer
Michael Adam
<obnox@samba.org>
Tue, 15 Oct 2013 21:43:30 +0000
(23:43 +0200)
share_mode_data.num_share_modes is a uint32.
48 bytes less in .o text size for -O3 :-)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index fa7c4a0b0f892841adb42cec6b08802fa830e4cc..9c8b31d08074df93ea25a3bb5e16631eeec3a654 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-1218,7
+1218,7
@@
static void find_oplock_types(files_struct *fsp,
bool *got_no_oplock)
{
struct share_mode_data *d = lck->data;
bool *got_no_oplock)
{
struct share_mode_data *d = lck->data;
-
in
t i;
+
uint32_
t i;
*pp_batch = NULL;
*pp_ex_or_batch = NULL;
*pp_batch = NULL;
*pp_ex_or_batch = NULL;