summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:54 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:54 -0800
commit7c8e715d5b039e8b624d3cf99c4f639058763d4e (patch)
treec8f4dc5a2916cf6a81505feee4c90ec69fd35762
parentfb5ada6d08faf9dd367562b770f8fc045c90c8a4 (diff)
downloadsamba-7c8e715d5b039e8b624d3cf99c4f639058763d4e.tar.gz
samba-7c8e715d5b039e8b624d3cf99c4f639058763d4e.tar.xz
samba-7c8e715d5b039e8b624d3cf99c4f639058763d4e.zip
param: Rename variable used for lp_stat_cache bStatCache
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.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 3f35ac4515..e188047a11 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -210,7 +210,7 @@ FN_GLOBAL_BOOL(reject_md5_servers, reject_md5_servers)
FN_GLOBAL_BOOL(require_strong_key, require_strong_key)
FN_GLOBAL_BOOL(reset_on_zero_vc, reset_on_zero_vc)
FN_GLOBAL_BOOL(rpc_big_endian, rpc_big_endian)
-FN_GLOBAL_BOOL(stat_cache, bStatCache)
+FN_GLOBAL_BOOL(stat_cache, stat_cache)
FN_GLOBAL_BOOL(syslog_only, bSyslogOnly)
FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)
FN_GLOBAL_BOOL(time_server, bTimeServer)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index a30e253ce7..7eaf2e1b2a 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2550,7 +2550,7 @@ static struct parm_struct parm_table[] = {
.label = "stat cache",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bStatCache),
+ .offset = GLOBAL_VAR(stat_cache),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 969d1aea57..be8fc42c81 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -871,7 +871,7 @@ static void init_globals(bool reinit_globals)
Globals.iPasswdChatTimeout = 2; /* 2 second default. */
Globals.nt_pipe_support = true; /* Do NT pipes by default. */
Globals.nt_status_support = true; /* Use NT status by default. */
- Globals.bStatCache = true; /* use stat cache by default */
+ Globals.stat_cache = true; /* use stat cache by default */
Globals.iMaxStatCacheSize = 256; /* 256k by default */
Globals.restrict_anonymous = 0;
Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */