[pbs-devel] [PATCH proxmox-backup 1/4] chunk store: restrict chunk sweep helper method to module parent
Christian Ebner
c.ebner at proxmox.com
Mon Jan 19 14:27:04 CET 2026
This method is only used by garbage collection and must not be called
from outside the pbs-datastore crate.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
pbs-datastore/src/chunk_store.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pbs-datastore/src/chunk_store.rs b/pbs-datastore/src/chunk_store.rs
index bd1dc353b..e7e94b29f 100644
--- a/pbs-datastore/src/chunk_store.rs
+++ b/pbs-datastore/src/chunk_store.rs
@@ -427,7 +427,7 @@ impl ChunkStore {
&self.mutex
}
- pub fn sweep_unused_chunks(
+ pub(super) fn sweep_unused_chunks(
&self,
oldest_writer: i64,
min_atime: i64,
--
2.47.3
More information about the pbs-devel
mailing list