diff options
author | Jeremy Allison <jra@samba.org> | 2011-01-25 13:57:38 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-25 14:02:18 -0800 |
commit | a65bce4e38d0b940286c7c93c226651e5fb45082 (patch) | |
tree | f79cc511c3abfeadb19507b40389b038b3f0a231 /source3/smbd/trans2.c | |
parent | b97f1ce68a512cb0da71ee1de9ddaa49dd466068 (diff) | |
download | samba-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/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 90a878d17e..60664fd229 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -5103,7 +5103,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, } fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st); - get_file_infos(fileid, &delete_pending, &write_time_ts); + get_file_infos(fileid, 0, &delete_pending, &write_time_ts); } else { /* * Original code - this is an open file. @@ -5120,7 +5120,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, return; } fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st); - get_file_infos(fileid, &delete_pending, &write_time_ts); + get_file_infos(fileid, 0, &delete_pending, &write_time_ts); } } else { @@ -5213,7 +5213,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, fileid = vfs_file_id_from_sbuf(conn, &smb_fname_base->st); TALLOC_FREE(smb_fname_base); - get_file_infos(fileid, &delete_pending, NULL); + get_file_infos(fileid, 0, &delete_pending, NULL); if (delete_pending) { reply_nterror(req, NT_STATUS_DELETE_PENDING); return; @@ -5245,7 +5245,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, } fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st); - get_file_infos(fileid, &delete_pending, &write_time_ts); + get_file_infos(fileid, 0, &delete_pending, &write_time_ts); if (delete_pending) { reply_nterror(req, NT_STATUS_DELETE_PENDING); return; |