1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

param: Rename variable used for lp_kernel_share_modes bKernelShareModes

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 e14f9bcf9b
commit 3a569bfb6f
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ FN_LOCAL_PARM_INTEGER(strict_locking, strict_locking)
FN_LOCAL_PARM_BOOL(posix_locking, posix_locking)
FN_LOCAL_BOOL(kernel_oplocks, kernel_oplocks)
FN_LOCAL_BOOL(level2_oplocks, level2_oplocks)
FN_LOCAL_BOOL(kernel_share_modes, bKernelShareModes)
FN_LOCAL_BOOL(kernel_share_modes, kernel_share_modes)
FN_LOCAL_BOOL(onlyuser, bOnlyUser)
FN_LOCAL_PARM_BOOL(manglednames, bMangledNames)
FN_LOCAL_BOOL(symlinks, bSymlinks)

View File

@ -2974,7 +2974,7 @@ static struct parm_struct parm_table[] = {
.label = "kernel share modes",
.type = P_BOOL,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(bKernelShareModes),
.offset = LOCAL_VAR(kernel_share_modes),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,

View File

@ -277,7 +277,7 @@ static struct loadparm_service sDefault =
.iDirectoryNameCacheSize = 100,
#endif
.ismb_encrypt = SMB_SIGNING_DEFAULT,
.bKernelShareModes = true,
.kernel_share_modes = true,
.bDurableHandles = true,
.param_opt = NULL,
.dummy = ""