summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-12-14 13:58:25 +0100
committerJeremy Allison <jra@samba.org>2022-12-14 22:54:29 +0000
commitc12518a9b6275602fd654a0dc47903d10843e91e (patch)
treebc53977a804da12f94228686cf8cd9c855a75718 /source3/locking
parentd04db4a576978be49b2c5c6533103cf8cab2f0b6 (diff)
downloadsamba-c12518a9b6275602fd654a0dc47903d10843e91e.tar.gz
smbd: Remove source3/smbd/statcache.c
After I found that nobody calls stat_cache_add() anymore, there was no reason to keep the rest of statcache.c. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index a65124403cf..5c2613b117c 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -965,11 +965,6 @@ static void set_delete_on_close_locked(struct share_mode_lock *lck,
reset_delete_on_close_lck(state->fsp, lck);
}
- if (state->fsp->fsp_flags.is_directory) {
- send_stat_cache_delete_message(state->fsp->conn->sconn->msg_ctx,
- state->fsp->fsp_name->base_name);
- }
-
state->fsp->fsp_flags.delete_on_close = state->delete_on_close;
}