From 2383ffce6993a70abffcbabdf2e6ebb0d8ccd756 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 May 2007 07:22:10 +0000 Subject: r22784: fixed change notify for delete on close (This used to be commit 6f52435a72427a8264096ac14bad54020c9d852b) --- source3/smbd/close.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/smbd/close.c') diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 1c9f6ea8c4..2eb3a3e13c 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -287,6 +287,10 @@ static NTSTATUS close_remove_share_mode(files_struct *fsp, 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 -- cgit