mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
param: Rename variable used for lp_force_create_mode iCreate_force_mode
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2683a0126b
commit
31c571ae8d
@ -2056,7 +2056,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
lp_ctx->sDefault->iStrictLocking = true;
|
||||
lp_ctx->sDefault->oplocks = true;
|
||||
lp_ctx->sDefault->create_mask = 0744;
|
||||
lp_ctx->sDefault->iCreate_force_mode = 0000;
|
||||
lp_ctx->sDefault->force_create_mode = 0000;
|
||||
lp_ctx->sDefault->iDir_mask = 0755;
|
||||
lp_ctx->sDefault->iDir_force_mode = 0000;
|
||||
|
||||
|
@ -44,7 +44,7 @@ FN_LOCAL_BOOL(map_system, map_system)
|
||||
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, iCreate_force_mode)
|
||||
FN_LOCAL_INTEGER(force_create_mode, force_create_mode)
|
||||
FN_LOCAL_INTEGER(dir_mask, iDir_mask)
|
||||
FN_LOCAL_INTEGER(force_dir_mode, iDir_force_mode)
|
||||
FN_LOCAL_STRING(preexec, szPreExec)
|
||||
|
@ -936,7 +936,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "force create mode",
|
||||
.type = P_OCTAL,
|
||||
.p_class = P_LOCAL,
|
||||
.offset = LOCAL_VAR(iCreate_force_mode),
|
||||
.offset = LOCAL_VAR(force_create_mode),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,
|
||||
|
@ -191,7 +191,7 @@ static struct loadparm_service sDefault =
|
||||
.iMaxReportedPrintJobs = 0,
|
||||
.iWriteCacheSize = 0,
|
||||
.create_mask = 0744,
|
||||
.iCreate_force_mode = 0,
|
||||
.force_create_mode = 0,
|
||||
.iDir_mask = 0755,
|
||||
.iDir_force_mode = 0,
|
||||
.max_connections = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user