svn commit: samba r22785 - in branches: SAMBA_3_0_25/source/smbd SAMBA_3_0_26/source/smbd

vlendec at samba.org vlendec at samba.org
Fri May 11 08:27:00 GMT 2007


Author: vlendec
Date: 2007-05-11 08:27:00 +0000 (Fri, 11 May 2007)
New Revision: 22785

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

Log:
Merge Tridge's "fixed change notify for delete on close" r22784

Modified:
   branches/SAMBA_3_0_25/source/smbd/close.c
   branches/SAMBA_3_0_26/source/smbd/close.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/smbd/close.c
===================================================================
--- branches/SAMBA_3_0_25/source/smbd/close.c	2007-05-11 07:22:10 UTC (rev 22784)
+++ branches/SAMBA_3_0_25/source/smbd/close.c	2007-05-11 08:27:00 UTC (rev 22785)
@@ -287,6 +287,10 @@
 		status = map_nt_error_from_unix(errno);
 	}
 
+	notify_fname(conn, NOTIFY_ACTION_REMOVED,
+		     FILE_NOTIFY_CHANGE_FILE_NAME,
+		     fsp->fsp_name);
+
 	/* As we now have POSIX opens which can unlink
  	 * with other open files we may have taken
  	 * this code path with more than one share mode

Modified: branches/SAMBA_3_0_26/source/smbd/close.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/close.c	2007-05-11 07:22:10 UTC (rev 22784)
+++ branches/SAMBA_3_0_26/source/smbd/close.c	2007-05-11 08:27:00 UTC (rev 22785)
@@ -287,6 +287,10 @@
 		status = map_nt_error_from_unix(errno);
 	}
 
+	notify_fname(conn, NOTIFY_ACTION_REMOVED,
+		     FILE_NOTIFY_CHANGE_FILE_NAME,
+		     fsp->fsp_name);
+
 	/* As we now have POSIX opens which can unlink
  	 * with other open files we may have taken
  	 * this code path with more than one share mode



More information about the samba-cvs mailing list