summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-08-10 16:39:13 -0700
committerJeremy Allison <jra@samba.org>2009-08-10 16:39:13 -0700
commit7b9542ba34fd2b3144e02a5570858bc652534c4c (patch)
treef91a9bfae3dce86993cc7eb04d8c7f619dd8539e /source3/smbd
parentc9dca82ed7757f4745edf6ee6048bd94d86c4dbc (diff)
downloadsamba-7b9542ba34fd2b3144e02a5570858bc652534c4c.tar.gz
samba-7b9542ba34fd2b3144e02a5570858bc652534c4c.tar.bz2
samba-7b9542ba34fd2b3144e02a5570858bc652534c4c.zip
Ensure the fsp->fsp_name stat_ex struct is always
up to date after the open. Jeremy.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 87cab1966b..62a0fa73b7 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3278,6 +3278,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
}
if ((fsp->fh != NULL) && (fsp->fh->fd != -1)) {
SMB_VFS_FSTAT(fsp, &smb_fname->st);
+ fsp->fsp_name->st = smb_fname->st;
}
return NT_STATUS_OK;