From 89e276de6410dc282657f9429db1b1acb7201130 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 28 Jul 2022 18:06:49 -0700 Subject: [PATCH] fix loop --- weed/mount/inode_to_path.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.go index f12121dd9..c287f4791 100644 --- a/weed/mount/inode_to_path.go +++ b/weed/mount/inode_to_path.go @@ -62,6 +62,7 @@ func (i *InodeToPath) EnsurePath(path util.FullPath, isDirectory bool) bool { } if i.EnsurePath(util.FullPath(dir), true) { i.Lookup(path, time.Now().Unix(), isDirectory, false, 0, false) + return true } } return false