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

Reply via email to