avoid fatal message in some edge cases

This commit is contained in:
chrislu 2022-02-13 05:59:10 -08:00
parent 6a921e15f3
commit 6200b6abb1

View File

@ -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
}