git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9dca82
)
Ensure the fsp->fsp_name stat_ex struct is always
author
Jeremy Allison
<jra@samba.org>
Mon, 10 Aug 2009 23:39:13 +0000
(16:39 -0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 10 Aug 2009 23:39:13 +0000
(16:39 -0700)
up to date after the open.
Jeremy.
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 87cab1966b443451b7e38a590e67b45f3fbc83a8..62a0fa73b7aa1558830207775040b919a0b2de32 100644
(file)
--- 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;