diff --git a/fs/inode/dir.go b/fs/inode/dir.go
index <HASH>..<HASH> 100644
--- a/fs/inode/dir.go
+++ b/fs/inode/dir.go
@@ -437,11 +437,15 @@ func (d *DirInode) LookUpChild(
 		o = fileRecord
 	}
 
-	// TODO(jacobsa): Update the cache to say file here if fileRecord != nil
-	panic("TODO")
+	// Update the cache.
+	now = time.Now()
+	if fileRecord != nil {
+		d.cache.NoteFile(now, name)
+	}
 
-	// TODO(jacobsa): Update the cache to say dir here if dirRecord != nil
-	panic("TODO")
+	if dirRecord != nil {
+		d.cache.NoteDir(now, name)
+	}
 
 	return
 }
Update the type cache in LookUpChild.