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()
|
defer i.Unlock()
|
||||||
inode, found := i.path2inode[path]
|
inode, found := i.path2inode[path]
|
||||||
if !found {
|
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
|
return inode
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user