[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-919-g7b9542b

Jeremy Allison jra at samba.org
Mon Aug 10 17:40:10 MDT 2009


The branch, master has been updated
       via  7b9542ba34fd2b3144e02a5570858bc652534c4c (commit)
      from  c9dca82ed7757f4745edf6ee6048bd94d86c4dbc (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7b9542ba34fd2b3144e02a5570858bc652534c4c
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Aug 10 16:39:13 2009 -0700

    Ensure the fsp->fsp_name stat_ex struct is always
    up to date after the open.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/open.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 87cab19..62a0fa7 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;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list