summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-08 18:05:30 -0700
committerJeremy Allison <jra@samba.org>2009-07-08 18:05:30 -0700
commit400c18a8c4098b4ba86d32a236e5d89014774f3f (patch)
tree6eecf05a0acabaf15664062a0105d5e2d4780cae /source3/smbd
parentc9c3d4312d7281904fc4a1cc9abd4831cdf4bfb9 (diff)
downloadsamba-400c18a8c4098b4ba86d32a236e5d89014774f3f.tar.gz
samba-400c18a8c4098b4ba86d32a236e5d89014774f3f.tar.bz2
samba-400c18a8c4098b4ba86d32a236e5d89014774f3f.zip
Rename update_stat_ex_writetime() -> update_stat_ex_mtime()
to better describe what we're doing here. Jeremy
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c4
-rw-r--r--source3/smbd/reply.c4
-rw-r--r--source3/smbd/trans2.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 4f75b9f120..5d676470c8 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -657,7 +657,7 @@ void reply_ntcreate_and_X(struct smb_request *req)
ZERO_STRUCT(write_time_ts);
get_file_infos(fsp->file_id, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
/* Create time. */
@@ -1148,7 +1148,7 @@ static void call_nt_transact_create(connection_struct *conn,
ZERO_STRUCT(write_time_ts);
get_file_infos(fsp->file_id, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
/* Create time. */
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e02482ea4a..0afaf56c96 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1121,7 +1121,7 @@ void reply_getatr(struct smb_request *req)
fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st);
get_file_infos(fileid, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
}
@@ -1803,7 +1803,7 @@ void reply_open(struct smb_request *req)
ZERO_STRUCT(write_time_ts);
get_file_infos(fsp->file_id, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&smb_fname->st, write_time_ts);
+ update_stat_ex_mtime(&smb_fname->st, write_time_ts);
}
}
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index cb4f10fa79..0dd2ca2e3c 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1463,7 +1463,7 @@ static bool get_lanman2_dir_entry(TALLOC_CTX *ctx,
fileid = vfs_file_id_from_sbuf(conn, &sbuf);
get_file_infos(fileid, NULL, &write_time_ts);
if (!null_timespec(write_time_ts)) {
- update_stat_ex_writetime(&sbuf, write_time_ts);
+ update_stat_ex_mtime(&sbuf, write_time_ts);
}
}
@@ -4258,7 +4258,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
}
if (!null_timespec(write_time_ts) && !INFO_LEVEL_IS_UNIX(info_level)) {
- update_stat_ex_writetime(&sbuf, write_time_ts);
+ update_stat_ex_mtime(&sbuf, write_time_ts);
}
create_time_ts = sbuf.st_ex_btime;