mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
loadparm: rename variable for "directory mask" from dir_mask to directory_mask
for consistency docs/functions/variables Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Feb 3 07:29:43 CET 2014 on sn-devel-104
This commit is contained in:
parent
43d59d5cc4
commit
79517632f8
@ -2014,7 +2014,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
lp_ctx->sDefault->oplocks = true;
|
||||
lp_ctx->sDefault->create_mask = 0744;
|
||||
lp_ctx->sDefault->force_create_mode = 0000;
|
||||
lp_ctx->sDefault->dir_mask = 0755;
|
||||
lp_ctx->sDefault->directory_mask = 0755;
|
||||
lp_ctx->sDefault->force_dir_mode = 0000;
|
||||
|
||||
DEBUG(3, ("Initialising global parameters\n"));
|
||||
|
@ -45,7 +45,7 @@ FN_LOCAL_INTEGER(max_connections, max_connections)
|
||||
FN_LOCAL_INTEGER(csc_policy, csc_policy)
|
||||
FN_LOCAL_INTEGER(create_mask, create_mask)
|
||||
FN_LOCAL_INTEGER(force_create_mode, force_create_mode)
|
||||
FN_LOCAL_INTEGER(directory_mask, dir_mask)
|
||||
FN_LOCAL_INTEGER(directory_mask, directory_mask)
|
||||
FN_LOCAL_INTEGER(force_dir_mode, force_dir_mode)
|
||||
FN_LOCAL_STRING(preexec, preexec)
|
||||
FN_LOCAL_STRING(postexec, postexec)
|
||||
|
@ -945,7 +945,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "directory mask",
|
||||
.type = P_OCTAL,
|
||||
.p_class = P_LOCAL,
|
||||
.offset = LOCAL_VAR(dir_mask),
|
||||
.offset = LOCAL_VAR(directory_mask),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,
|
||||
@ -954,7 +954,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "directory mode",
|
||||
.type = P_OCTAL,
|
||||
.p_class = P_LOCAL,
|
||||
.offset = LOCAL_VAR(dir_mask),
|
||||
.offset = LOCAL_VAR(directory_mask),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED | FLAG_GLOBAL,
|
||||
|
@ -192,7 +192,7 @@ static struct loadparm_service sDefault =
|
||||
.write_cache_size = 0,
|
||||
.create_mask = 0744,
|
||||
.force_create_mode = 0,
|
||||
.dir_mask = 0755,
|
||||
.directory_mask = 0755,
|
||||
.force_dir_mode = 0,
|
||||
.max_connections = 0,
|
||||
.defaultcase = CASE_LOWER,
|
||||
|
Loading…
Reference in New Issue
Block a user