summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-11 07:22:10 +0000
committerAndrew Tridgell <tridge@samba.org>2007-05-11 07:22:10 +0000
commit1e249256d5a8e5f88a490c0728021278aea764b0 (patch)
treeda40095d09170aee157410071d2c8d892b23ec3c
parent1b86247ce8ec7b633328d7d2682a7435876c2425 (diff)
downloadsamba-1e249256d5a8e5f88a490c0728021278aea764b0.tar.gz
samba-1e249256d5a8e5f88a490c0728021278aea764b0.tar.xz
samba-1e249256d5a8e5f88a490c0728021278aea764b0.zip
r22784: fixed change notify for delete on close
-rw-r--r--source/smbd/close.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c
index 1c9f6ea8c42..2eb3a3e13c6 100644
--- a/source/smbd/close.c
+++ b/source/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