summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pkg/sentry/fs/dentry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fs/dentry.go b/pkg/sentry/fs/dentry.go
index fe656cc24..c0fc74723 100644
--- a/pkg/sentry/fs/dentry.go
+++ b/pkg/sentry/fs/dentry.go
@@ -73,8 +73,8 @@ func (c *CollectEntriesSerializer) Written() int {
return len(c.Entries)
}
-// DirCtx is used by node.Readdir to emit directory entries. It is not
-// thread-safe.
+// DirCtx is used in FileOperations.IterateDir to emit directory entries. It is
+// not thread-safe.
type DirCtx struct {
// Serializer is used to serialize the node attributes.
Serializer DentrySerializer