[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-42-gffa7043

Jeremy Allison jra at samba.org
Tue Sep 30 20:39:16 GMT 2008


The branch, v3-0-test has been updated
       via  ffa704347a9cf10de20105e3dd07963f975cbd77 (commit)
      from  3d10c237a9b71d269d7936d58c2f8c0172165cbe (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit ffa704347a9cf10de20105e3dd07963f975cbd77
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Sep 30 13:37:54 2008 -0700

    Ensure we emit the notify message before renaming the open files.
    Jeremy.

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

Summary of changes:
 source/smbd/reply.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index bccd116..d8cbfd8 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -4644,11 +4644,11 @@ NTSTATUS rename_internals(connection_struct *conn,
 		if(SMB_VFS_RENAME(conn,directory, newname) == 0) {
 			DEBUG(3,("rename_internals: succeeded doing rename "
 				 "on %s -> %s\n", directory, newname));
+			notify_rename(conn, S_ISDIR(sbuf1.st_mode),
+				      directory, newname);
 			rename_open_files(conn, lck, sbuf1.st_dev,
 					  sbuf1.st_ino, newname);
 			TALLOC_FREE(lck);
-			notify_rename(conn, S_ISDIR(sbuf1.st_mode),
-				      directory, newname);
 			return NT_STATUS_OK;	
 		}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list