From e3052c5bd94de2ae282c124685f17f5632e14b29 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Tue, 4 Feb 2014 15:09:11 +1300 Subject: param: rename lp function and variable from "writelist" to "write_list" Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- source3/param/loadparm.c | 2 +- source3/smbd/share_access.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 364773060e..9df88b42fc 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -179,7 +179,7 @@ static struct loadparm_service sDefault = .force_user = NULL, .force_group = NULL, .read_list = NULL, - .writelist = NULL, + .write_list = NULL, .volume = NULL, .fstype = NULL, .vfs_objects = NULL, diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c index dbe4c5b5d0..8b165e6c86 100644 --- a/source3/smbd/share_access.c +++ b/source3/smbd/share_access.c @@ -270,11 +270,11 @@ bool is_share_read_only_for_token(const char *username, } } - if (lp_writelist(snum) != NULL) { + if (lp_write_list(snum) != NULL) { if (token_contains_name_in_list(username, domain, lp_servicename(talloc_tos(), snum), token, - lp_writelist(snum))) { + lp_write_list(snum))) { result = False; } } -- cgit