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/smbd/proto.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'source3/smbd/proto.h') diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index b1ad45667a0..069c069f803 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1094,25 +1094,6 @@ bool is_share_read_only_for_token(const char *username, NTSTATUS srvstr_push_fn(const char *base_ptr, uint16_t smb_flags2, void *dest, const char *src, int dest_len, int flags, size_t *ret_len); -/* The following definitions come from smbd/statcache.c */ - -void stat_cache_add( const char *full_orig_name, - const char *translated_path, - NTTIME twrp, - bool case_sensitive); -bool stat_cache_lookup(connection_struct *conn, - char **pp_name, - char **pp_dirpath, - char **pp_start, - NTTIME twrp, - SMB_STRUCT_STAT *pst); -void smbd_send_stat_cache_delete_message(struct messaging_context *msg_ctx, - const char *name); -void send_stat_cache_delete_message(struct messaging_context *msg_ctx, - const char *name); -void stat_cache_delete(const char *name); -bool reset_stat_cache( void ); - /* The following definitions come from smbd/statvfs.c */ int sys_statvfs(const char *path, struct vfs_statvfs_struct *statbuf); -- cgit v1.2.1