From a65bce4e38d0b940286c7c93c226651e5fb45082 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 25 Jan 2011 13:57:38 -0800 Subject: Add uint32_t name_hash argument (currently unused) to get_file_infos(). Will be used when we store more than one delete on close token. --- source3/smbd/reply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 92be257029..4d3be85a85 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1141,7 +1141,7 @@ void reply_getatr(struct smb_request *req) ZERO_STRUCT(write_time_ts); fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st); - get_file_infos(fileid, NULL, &write_time_ts); + get_file_infos(fileid, 0, NULL, &write_time_ts); if (!null_timespec(write_time_ts)) { update_stat_ex_mtime(&smb_fname->st, write_time_ts); } @@ -1803,7 +1803,7 @@ void reply_open(struct smb_request *req) struct timespec write_time_ts; ZERO_STRUCT(write_time_ts); - get_file_infos(fsp->file_id, NULL, &write_time_ts); + get_file_infos(fsp->file_id, 0, NULL, &write_time_ts); if (!null_timespec(write_time_ts)) { update_stat_ex_mtime(&smb_fname->st, write_time_ts); } -- cgit