summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 15:44:50 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:05 +0100
commit69a68208bd971dbe9905dedd0554b3a79d2d2ce6 (patch)
tree40b412d3d36269bd0241c5bd3fba3885b189eea7 /source3/modules
parente71c17b2b008ba926e74dd184523723a742b76ba (diff)
downloadsamba-69a68208bd971dbe9905dedd0554b3a79d2d2ce6.tar.gz
samba-69a68208bd971dbe9905dedd0554b3a79d2d2ce6.tar.bz2
samba-69a68208bd971dbe9905dedd0554b3a79d2d2ce6.zip
s3: Restore "fake directory create times" as a share parameter
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index cfa10692ec..9abf792769 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -616,7 +616,7 @@ static int vfswrap_stat(vfs_handle_struct *handle,
}
result = sys_stat(smb_fname->base_name, &smb_fname->st,
- lp_fake_dir_create_times());
+ lp_fake_dir_create_times(SNUM(handle->conn)));
out:
END_PROFILE(syscall_stat);
return result;
@@ -628,7 +628,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());
+ sbuf, lp_fake_dir_create_times(SNUM(handle->conn)));
END_PROFILE(syscall_fstat);
return result;
}
@@ -646,7 +646,7 @@ static int vfswrap_lstat(vfs_handle_struct *handle,
}
result = sys_lstat(smb_fname->base_name, &smb_fname->st,
- lp_fake_dir_create_times());
+ lp_fake_dir_create_times(SNUM(handle->conn)));
out:
END_PROFILE(syscall_lstat);
return result;