From 6200b6abb10eb2559166be8890718102ad8b4c1c Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 13 Feb 2022 05:59:10 -0800 Subject: [PATCH] avoid fatal message in some edge cases --- weed/mount/inode_to_path.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.go index 25e615ed6..84b952227 100644 --- a/weed/mount/inode_to_path.go +++ b/weed/mount/inode_to_path.go @@ -51,7 +51,8 @@ func (i *InodeToPath) GetInode(path util.FullPath) uint64 { defer i.Unlock() inode, found := i.path2inode[path] if !found { - glog.Fatalf("GetInode unknown inode %d", inode) + // glog.Fatalf("GetInode unknown inode for %s", path) + // this could be the parent for mount point } return inode }