svn commit: samba r23449 - in branches/SAMBA_3_0_25/source/smbd: .

jra at samba.org jra at samba.org
Tue Jun 12 19:55:09 GMT 2007


Author: jra
Date: 2007-06-12 19:55:07 +0000 (Tue, 12 Jun 2007)
New Revision: 23449

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23449

Log:
Don't call rename_open_files for the same name.
Jeremy.

Modified:
   branches/SAMBA_3_0_25/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_25/source/smbd/reply.c	2007-06-12 19:53:51 UTC (rev 23448)
+++ branches/SAMBA_3_0_25/source/smbd/reply.c	2007-06-12 19:55:07 UTC (rev 23449)
@@ -4586,8 +4586,6 @@
 		 */
 
 		if (strcsequal(directory, newname)) {
-			rename_open_files(conn, NULL, sbuf1.st_dev,
-					  sbuf1.st_ino, newname);
 			DEBUG(3, ("rename_internals: identical names in "
 				  "rename %s - returning success\n",
 				  directory));
@@ -4719,8 +4717,6 @@
 		}
 
 		if (strcsequal(fname,destname)) {
-			rename_open_files(conn, NULL, sbuf1.st_dev,
-					  sbuf1.st_ino, newname);
 			DEBUG(3,("rename_internals: identical names "
 				 "in wildcard rename %s - success\n",
 				 fname));



More information about the samba-cvs mailing list