diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:02 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:13 -0800 |
commit | f4414d63cdd4d276f66433c6868c9efe8567f28c (patch) | |
tree | 25ef5e103cccfffb100cbe336f188c9c2e730f7b /source3/modules | |
parent | 63e8b414c2db61a7ae5620e712fa6fd0047a69f2 (diff) | |
download | samba-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/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 8 | ||||
-rw-r--r-- | source3/modules/vfs_gpfs.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_media_harmony.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 09d9a6641f..815dc43e2d 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 5c9981fea9..760d27fb5c 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 ce981e84cb..bba98052e0 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 |