diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:34 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:48 -0800 |
commit | 7647bd0653a7a66122be0274a3ed07ffafeaaa92 (patch) | |
tree | d6a27ebdace5a20f0a3f3ebe0bfc792cea3960fe | |
parent | b302df5d7fbc094fd33d4d8bc7880a5062f516cf (diff) | |
download | samba-7647bd0653a7a66122be0274a3ed07ffafeaaa92.tar.gz samba-7647bd0653a7a66122be0274a3ed07ffafeaaa92.tar.xz samba-7647bd0653a7a66122be0274a3ed07ffafeaaa92.zip |
param: Rename variable used for lp_inherit_perms bInheritPerms
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.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index e2b9030b71..8f45d6e5ea 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -116,7 +116,7 @@ FN_LOCAL_BOOL(dos_filetimes, dos_filetimes) FN_LOCAL_BOOL(dos_filetime_resolution, dos_filetime_resolution) FN_LOCAL_BOOL(fake_dir_create_times, fake_dir_create_times) FN_LOCAL_BOOL(blocking_locks, blocking_locks) -FN_LOCAL_BOOL(inherit_perms, bInheritPerms) +FN_LOCAL_BOOL(inherit_perms, inherit_perms) FN_LOCAL_BOOL(inherit_acls, bInheritACLS) FN_LOCAL_BOOL(inherit_owner, bInheritOwner) FN_LOCAL_BOOL(use_client_driver, bUseClientDriver) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index b54a30da1e..f2b70f446d 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -981,7 +981,7 @@ static struct parm_struct parm_table[] = { .label = "inherit permissions", .type = P_BOOL, .p_class = P_LOCAL, - .offset = LOCAL_VAR(bInheritPerms), + .offset = LOCAL_VAR(inherit_perms), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED | FLAG_SHARE, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 6366fb6838..40b9cc0852 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -247,7 +247,7 @@ static struct loadparm_service sDefault = .dos_filetime_resolution = false, .fake_dir_create_times = false, .blocking_locks = true, - .bInheritPerms = false, + .inherit_perms = false, .bInheritACLS = false, .bInheritOwner = false, .msdfs_root = false, |