1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r22784: fixed change notify for delete on close

(This used to be commit 6f52435a72)
This commit is contained in:
Andrew Tridgell
2007-05-11 07:22:10 +00:00
committed by Gerald (Jerry) Carter
parent a6bbf9f9bc
commit 2383ffce69

View File

@ -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