commit c598cb154ef3fa6e1a8af840ded40f713d973d3d changed the pool layout to have the pool directory (.pool for a mirror) on the same level as the link directory (instead of below), to enable pool-sharing across multiple mirrors.
the condition will never be true, drop the if statement to avoid confusion in the future. Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com> --- src/pool.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pool.rs b/src/pool.rs index f20f5ea..611dcc9 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -265,9 +265,6 @@ impl PoolLockGuard<'_> { for link_entry in WalkDir::new(&self.pool.link_dir).into_iter() { let path = link_entry?.into_path(); - if self.path_in_pool(&path) { - continue; - }; let meta = path.metadata()?; if !meta.is_file() { -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel