diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:04:15 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:59 -0800 |
commit | 7568b266d8df078ae69d34af2c0b7641e091fc01 (patch) | |
tree | 4b1ed5fa1984f6ccb4ca9991c985c7689cc728c0 | |
parent | bd7182fbfd8d4f849146f03ab1de41d99a32d0a4 (diff) | |
download | samba-7568b266d8df078ae69d34af2c0b7641e091fc01.tar.gz samba-7568b266d8df078ae69d34af2c0b7641e091fc01.tar.xz samba-7568b266d8df078ae69d34af2c0b7641e091fc01.zip |
param: Rename variable used for lp_max_stat_cache_size iMaxStatCacheSize
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index ee180fed64..27cd8b2f26 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -315,7 +315,7 @@ FN_GLOBAL_INTEGER(max_log_size, max_log_size) FN_GLOBAL_INTEGER(maxmux, maxmux) FN_GLOBAL_INTEGER(max_open_files, max_open_files) FN_GLOBAL_INTEGER(max_smbd_processes, max_smbd_processes) -FN_GLOBAL_INTEGER(max_stat_cache_size, iMaxStatCacheSize) +FN_GLOBAL_INTEGER(max_stat_cache_size, max_stat_cache_size) FN_GLOBAL_INTEGER(max_ttl, max_ttl) FN_GLOBAL_INTEGER(max_wins_ttl, max_wins_ttl) FN_GLOBAL_INTEGER(max_xmit, max_xmit) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 1dd630b5d8..de33916b3c 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -2541,7 +2541,7 @@ static struct parm_struct parm_table[] = { .label = "max stat cache size", .type = P_INTEGER, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(iMaxStatCacheSize), + .offset = GLOBAL_VAR(max_stat_cache_size), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 01fc060b9f..9890dd68eb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -872,7 +872,7 @@ static void init_globals(bool reinit_globals) Globals.nt_pipe_support = true; /* Do NT pipes by default. */ Globals.nt_status_support = true; /* Use NT status by default. */ Globals.stat_cache = true; /* use stat cache by default */ - Globals.iMaxStatCacheSize = 256; /* 256k by default */ + Globals.max_stat_cache_size = 256; /* 256k by default */ Globals.restrict_anonymous = 0; Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */ Globals.client_plaintext_auth = false; /* Do NOT use a plaintext password even if is requested by the server */ |