summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-01-25 13:57:38 -0800
committerJeremy Allison <jra@samba.org>2011-01-25 14:02:18 -0800
commita65bce4e38d0b940286c7c93c226651e5fb45082 (patch)
treef79cc511c3abfeadb19507b40389b038b3f0a231 /source3/smbd/nttrans.c
parentb97f1ce68a512cb0da71ee1de9ddaa49dd466068 (diff)
downloadsamba-a65bce4e38d0b940286c7c93c226651e5fb45082.tar.gz
samba-a65bce4e38d0b940286c7c93c226651e5fb45082.tar.bz2
samba-a65bce4e38d0b940286c7c93c226651e5fb45082.zip
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.
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 9d6a892ad6..b63f37f0fd 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -654,7 +654,7 @@ void reply_ntcreate_and_X(struct smb_request *req)
/* Deal with other possible opens having a modified
write time. JRA. */
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);
}
@@ -1232,7 +1232,7 @@ static void call_nt_transact_create(connection_struct *conn,
/* Deal with other possible opens having a modified
write time. JRA. */
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);
}