From: Ralph Boehme Date: Tue, 25 Nov 2025 15:25:16 +0000 (+0100) Subject: scavenger: make share_mode_cleanup_disconnected() public X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e65d07be24d6a137bc7a6c97e68e5e7eb8668fa;p=thirdparty%2Fsamba.git scavenger: make share_mode_cleanup_disconnected() public Signed-off-by: Ralph Boehme Reviewed-by: Anoop C S --- diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c index 06b9e67511a..d725af9f06c 100644 --- a/source3/smbd/scavenger.c +++ b/source3/smbd/scavenger.c @@ -510,7 +510,7 @@ static bool cleanup_disconnected_share_mode_entry_fn( return true; } -static bool share_mode_cleanup_disconnected( +bool share_mode_cleanup_disconnected( struct file_id fid, uint64_t open_persistent_id, uint32_t name_hash) { struct cleanup_disconnected_state state = { diff --git a/source3/smbd/scavenger.h b/source3/smbd/scavenger.h index 819e08c60f0..24993598809 100644 --- a/source3/smbd/scavenger.h +++ b/source3/smbd/scavenger.h @@ -31,4 +31,8 @@ void scavenger_schedule_disconnected(struct messaging_context *msg_ctx, struct file_id *file_id, uint32_t name_hash); +bool share_mode_cleanup_disconnected(struct file_id fid, + uint64_t open_persistent_id, + uint32_t name_hash); + #endif