From f4414d63cdd4d276f66433c6868c9efe8567f28c Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Tue, 4 Feb 2014 15:09:02 +1300 Subject: param: rename lp function and variable from "fake_dir_create_times" to "fake_directory_create_times" Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- lib/param/param_functions.c | 2 +- lib/param/param_table.c | 2 +- source3/modules/vfs_default.c | 8 ++++---- source3/modules/vfs_gpfs.c | 2 +- source3/modules/vfs_media_harmony.c | 2 +- source3/param/loadparm.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index e281f37804c..8729d75db7c 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -114,7 +114,7 @@ FN_LOCAL_BOOL(delete_veto_files, delete_veto_files) FN_LOCAL_BOOL(dos_filemode, dos_filemode) 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(fake_directory_create_times, fake_directory_create_times) FN_LOCAL_BOOL(blocking_locks, blocking_locks) FN_LOCAL_BOOL(inherit_perms, inherit_perms) FN_LOCAL_BOOL(inherit_acls, inherit_acls) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 63be42c161d..4571c8b638f 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3814,7 +3814,7 @@ static struct parm_struct parm_table[] = { .label = "fake directory create times", .type = P_BOOL, .p_class = P_LOCAL, - .offset = LOCAL_VAR(fake_dir_create_times), + .offset = LOCAL_VAR(fake_directory_create_times), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED | FLAG_GLOBAL, diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 09d9a6641f7..815dc43e2d9 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -394,7 +394,7 @@ static struct dirent *vfswrap_readdir(vfs_handle_struct *handle, if (ret == 0) { init_stat_ex_from_stat(sbuf, &st, - lp_fake_dir_create_times( + lp_fake_directory_create_times( SNUM(handle->conn))); } } @@ -958,7 +958,7 @@ static int vfswrap_stat(vfs_handle_struct *handle, } result = sys_stat(smb_fname->base_name, &smb_fname->st, - lp_fake_dir_create_times(SNUM(handle->conn))); + lp_fake_directory_create_times(SNUM(handle->conn))); out: END_PROFILE(syscall_stat); return result; @@ -970,7 +970,7 @@ static int vfswrap_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUC START_PROFILE(syscall_fstat); result = sys_fstat(fsp->fh->fd, - sbuf, lp_fake_dir_create_times(SNUM(handle->conn))); + sbuf, lp_fake_directory_create_times(SNUM(handle->conn))); END_PROFILE(syscall_fstat); return result; } @@ -988,7 +988,7 @@ static int vfswrap_lstat(vfs_handle_struct *handle, } result = sys_lstat(smb_fname->base_name, &smb_fname->st, - lp_fake_dir_create_times(SNUM(handle->conn))); + lp_fake_directory_create_times(SNUM(handle->conn))); out: END_PROFILE(syscall_lstat); return result; diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 5c9981fea94..760d27fb5cc 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -1445,7 +1445,7 @@ static int stat_with_capability(struct vfs_handle_struct *handle, if (ret == 0) { init_stat_ex_from_stat( &smb_fname->st, &st, - lp_fake_dir_create_times(SNUM(handle->conn))); + lp_fake_directory_create_times(SNUM(handle->conn))); } return ret; diff --git a/source3/modules/vfs_media_harmony.c b/source3/modules/vfs_media_harmony.c index ce981e84cb1..bba98052e00 100644 --- a/source3/modules/vfs_media_harmony.c +++ b/source3/modules/vfs_media_harmony.c @@ -607,7 +607,7 @@ static int set_fake_mtime(vfs_handle_struct *handle, DEBUG(MH_INFO_DEBUG, ("Fake stat'ing '%s'\n", statPath)); if (statFn(statPath, &fakeStat, - lp_fake_dir_create_times(SNUM(handle->conn)))) + lp_fake_directory_create_times(SNUM(handle->conn)))) { /* This can fail for legitimate reasons - i.e. the * fakeStat directory doesn't exist, which is okay diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3f92fa4bab6..99526a3ac2a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -245,7 +245,7 @@ static struct loadparm_service sDefault = .dos_filemode = false, .dos_filetimes = true, .dos_filetime_resolution = false, - .fake_dir_create_times = false, + .fake_directory_create_times = false, .blocking_locks = true, .inherit_perms = false, .inherit_acls = false, -- cgit