diff --git a/internal/goofys.go b/internal/goofys.go index 9070fb54..8d7d640f 100644 --- a/internal/goofys.go +++ b/internal/goofys.go @@ -755,8 +755,12 @@ func (fs *Goofys) ForgetInode( op *fuseops.ForgetInodeOp) (err error) { fs.mu.RLock() - inode := fs.getInodeOrDie(op.Inode) + inode := fs.inodes[op.Inode] fs.mu.RUnlock() + if inode == nil { + log.Warnln("Unknown inode", op.Inode) + return + } if inode.Parent != nil { inode.Parent.mu.Lock()