Author: tridge
Date: 2007-05-11 07:22:10 +0000 (Fri, 11 May 2007)
New Revision: 22784

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

Log:
fixed change notify for delete on close
Modified:
   branches/SAMBA_3_0/source/smbd/close.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/close.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/close.c      2007-05-10 22:20:22 UTC (rev 
22783)
+++ branches/SAMBA_3_0/source/smbd/close.c      2007-05-11 07:22:10 UTC (rev 
22784)
@@ -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