summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:02 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:13 -0800
commitf4414d63cdd4d276f66433c6868c9efe8567f28c (patch)
tree25ef5e103cccfffb100cbe336f188c9c2e730f7b /source3
parent63e8b414c2db61a7ae5620e712fa6fd0047a69f2 (diff)
downloadsamba-f4414d63cdd4d276f66433c6868c9efe8567f28c.tar.gz
samba-f4414d63cdd4d276f66433c6868c9efe8567f28c.tar.xz
samba-f4414d63cdd4d276f66433c6868c9efe8567f28c.zip
param: rename lp function and variable from "fake_dir_create_times" to "fake_directory_create_times"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_default.c8
-rw-r--r--source3/modules/vfs_gpfs.c2
-rw-r--r--source3/modules/vfs_media_harmony.c2
-rw-r--r--source3/param/loadparm.c2
4 files changed, 7 insertions, 7 deletions
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,