summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-11 07:22:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:57 -0500
commit2383ffce6993a70abffcbabdf2e6ebb0d8ccd756 (patch)
tree29dd4e0efc0ba6d686def4442493d3b4265adeef /source3/smbd
parenta6bbf9f9bc7d114c6c0bae14507da5cdd7619a65 (diff)
downloadsamba-2383ffce6993a70abffcbabdf2e6ebb0d8ccd756.tar.gz
samba-2383ffce6993a70abffcbabdf2e6ebb0d8ccd756.tar.bz2
samba-2383ffce6993a70abffcbabdf2e6ebb0d8ccd756.zip
r22784: fixed change notify for delete on close
(This used to be commit 6f52435a72427a8264096ac14bad54020c9d852b)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/close.c4
1 files changed, 4 insertions, 0 deletions
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