diff options
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r-- | source3/locking/locking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 56d18a63ef..d2e8b7ef59 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1281,6 +1281,10 @@ BOOL set_delete_on_close(files_struct *fsp, BOOL delete_on_close, UNIX_USER_TOKE set_delete_on_close_lck(lck, delete_on_close, tok); + if (fsp->is_directory) { + send_stat_cache_delete_message(fsp->fsp_name); + } + TALLOC_FREE(lck); return True; } |