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 "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>
This commit is contained in:
Garming Sam
2014-02-04 15:09:02 +13:00
committed by Jeremy Allison
parent 63e8b414c2
commit f4414d63cd
6 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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