mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 21:39:02 +08:00
avoid fatal message in some edge cases
This commit is contained in:
parent
6a921e15f3
commit
6200b6abb1
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user