1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

param: Rename variable used for lp_strict_locking iStrictLocking

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:
Andrew Bartlett 2013-12-24 16:03:31 +13:00 committed by Jeremy Allison
parent 7e11a91502
commit fe0b194067
4 changed files with 4 additions and 4 deletions

View File

@ -2053,7 +2053,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lp_ctx->sDefault->browseable = true;
lp_ctx->sDefault->readonly = true;
lp_ctx->sDefault->map_archive = true;
lp_ctx->sDefault->iStrictLocking = true;
lp_ctx->sDefault->strict_locking = true;
lp_ctx->sDefault->oplocks = true;
lp_ctx->sDefault->create_mask = 0744;
lp_ctx->sDefault->force_create_mode = 0000;

View File

@ -98,7 +98,7 @@ FN_LOCAL_BOOL(print_notify_backchannel, print_notify_backchannel)
FN_LOCAL_BOOL(store_dos_attributes, store_dos_attributes)
FN_LOCAL_BOOL(dmapi_support, dmapi_support)
FN_LOCAL_PARM_BOOL(locking, locking)
FN_LOCAL_PARM_INTEGER(strict_locking, iStrictLocking)
FN_LOCAL_PARM_INTEGER(strict_locking, strict_locking)
FN_LOCAL_PARM_BOOL(posix_locking, bPosixLocking)
FN_LOCAL_BOOL(kernel_oplocks, bKernelOplocks)
FN_LOCAL_BOOL(level2_oplocks, bLevel2OpLocks)

View File

@ -3046,7 +3046,7 @@ static struct parm_struct parm_table[] = {
.label = "strict locking",
.type = P_ENUM,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(iStrictLocking),
.offset = LOCAL_VAR(strict_locking),
.special = NULL,
.enum_list = enum_bool_auto,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,

View File

@ -225,7 +225,7 @@ static struct loadparm_service sDefault =
.store_dos_attributes = false,
.dmapi_support = false,
.locking = true,
.iStrictLocking = Auto,
.strict_locking = Auto,
.bPosixLocking = true,
.oplocks = true,
.bKernelOplocks = false,