mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 22:37:56 +08:00
avoid fatal message in some edge cases
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user