1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

param: rename lp function and variable from "veto_oplocks" to "veto_oplock_files"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam
2014-02-04 15:08:59 +13:00
committed by Jeremy Allison
parent 11f910be61
commit bc455c34da
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ FN_LOCAL_STRING(msdfs_proxy, msdfs_proxy)
FN_LOCAL_STRING(volume, volume)
FN_LOCAL_STRING(veto_files, veto_files)
FN_LOCAL_STRING(hide_files, hide_files)
FN_LOCAL_STRING(veto_oplocks, veto_oplocks)
FN_LOCAL_STRING(veto_oplock_files, veto_oplock_files)
FN_LOCAL_STRING(aio_write_behind, aio_write_behind)
FN_LOCAL_STRING(dfree_command, dfree_command)
FN_LOCAL_BOOL(autoloaded, autoloaded)

View File

@ -2487,7 +2487,7 @@ static struct parm_struct parm_table[] = {
.label = "veto oplock files",
.type = P_STRING,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(veto_oplocks),
.offset = LOCAL_VAR(veto_oplock_files),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,

View File

@ -174,7 +174,7 @@ static struct loadparm_service sDefault =
.magicoutput = NULL,
.veto_files = NULL,
.hide_files = NULL,
.veto_oplocks = NULL,
.veto_oplock_files = NULL,
.comment = NULL,
.force_user = NULL,
.force_group = NULL,

View File

@ -794,7 +794,7 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
set_namearray( &conn->hide_list,
lp_hide_files(talloc_tos(), snum));
set_namearray( &conn->veto_oplock_list,
lp_veto_oplocks(talloc_tos(), snum));
lp_veto_oplock_files(talloc_tos(), snum));
set_namearray( &conn->aio_write_behind_list,
lp_aio_write_behind(talloc_tos(), snum));
}