svn commit: samba r14932 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Thu Apr 6 01:54:18 GMT 2006


Author: tridge
Date: 2006-04-06 01:54:12 +0000 (Thu, 06 Apr 2006)
New Revision: 14932

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

Log:

ensure that we send a NOTIFY_ACTION_OLD_NAME and
NOTIFY_ACTION_NEW_NAME together to the client.

Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c	2006-04-06 01:46:01 UTC (rev 14931)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c	2006-04-06 01:54:12 UTC (rev 14932)
@@ -125,8 +125,10 @@
 	}
 	n->current_buffer_size += len;
 
-	/* send what we have */
-	pvfs_notify_send(n, NT_STATUS_OK);
+	/* send what we have, unless its the first part of a rename */
+	if (ev->action != NOTIFY_ACTION_OLD_NAME) {
+		pvfs_notify_send(n, NT_STATUS_OK);
+	}
 }
 
 /*



More information about the samba-cvs mailing list