From c12518a9b6275602fd654a0dc47903d10843e91e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Dec 2022 13:58:25 +0100 Subject: 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 Reviewed-by: Jeremy Allison --- source3/locking/locking.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/locking') 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; } -- cgit v1.2.1