diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-19 21:46:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:19 -0500 |
commit | aacd16e7c4bea5018560eea09d55f2a6473be84d (patch) | |
tree | d78e8f338eddd47bb458cbc4f0f7e0b7091dd461 /source3/locking | |
parent | cce97a9b50e6c022cc9eba3d97969c27ae7d106d (diff) | |
download | samba-aacd16e7c4bea5018560eea09d55f2a6473be84d.tar.gz samba-aacd16e7c4bea5018560eea09d55f2a6473be84d.tar.bz2 samba-aacd16e7c4bea5018560eea09d55f2a6473be84d.zip |
r20916: Add in the delete on close final fix - but only enabled
with -DDEVELOPER.
Jeremy.
(This used to be commit 7f817067a70930ee3502ea3373173e0c23733253)
Diffstat (limited to 'source3/locking')
-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; } |