param: rename lp function and variable from "fake_dir_create_times" to "fake_director...
authorGarming Sam <garming@catalyst.net.nz>
Tue, 4 Feb 2014 02:09:02 +0000 (15:09 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 8 Feb 2014 00:19:13 +0000 (16:19 -0800)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/param_functions.c
lib/param/param_table.c
source3/modules/vfs_default.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_media_harmony.c
source3/param/loadparm.c

index e281f37804cdf710b9f78d482e5aad49b4f99807..8729d75db7cf66ccf9ee538af299f4596d41fefa 100644 (file)
@@ -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)
index 63be42c161d152af26a8a40104c8f0ef7d34f0db..4571c8b638f4dcfb5c6c19a2269715909bdba860 100644 (file)
@@ -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,
index 09d9a6641f7e07f72fe22aaac6107f270c597df1..815dc43e2d955d507f21690d5af89f600490dc15 100644 (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;
index 5c9981fea94fcfc3c7ba0423332eed93d42e9a1b..760d27fb5ccea90dbc92fe84e293532418a12aae 100644 (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;
index ce981e84cb1e45eb4c3b88b55ac4b9b2141ca04d..bba98052e0056207b3eb32e7db32a44df4487d22 100644 (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
index 3f92fa4bab6583ee47b658eb8a61025eebf18ad7..99526a3ac2a96f9214e8e161314c7a2e3d31ddfe 100644 (file)
@@ -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,