summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-29 12:41:47 -0700
committerJeremy Allison <jra@samba.org>2012-06-30 02:23:39 +0200
commit34bb743ce3e24dde8b8fccdccb8f9c443fb2cd6f (patch)
tree1e443089d57fbe394b8d4ad4c6585f81da8b6785 /source3/smbd
parent84f29b814d1786147020867214974deefbb8412a (diff)
downloadsamba-34bb743ce3e24dde8b8fccdccb8f9c443fb2cd6f.tar.gz
samba-34bb743ce3e24dde8b8fccdccb8f9c443fb2cd6f.tar.xz
samba-34bb743ce3e24dde8b8fccdccb8f9c443fb2cd6f.zip
Add uint64_t mid field to the files_struct.
Ensure it is initialized so we know what mid created this file.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 0929d994a8b..390718f83ed 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -126,6 +126,7 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
fsp_fnum_dbg(fsp), (unsigned int)sconn->num_files));
if (req != NULL) {
+ fsp->mid = req->mid;
req->chain_fsp = fsp;
}