summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-04-30 15:41:42 -0700
committerShentubot <shentubot@google.com>2019-04-30 15:42:39 -0700
commit23ca9886c6cfe499438f1b994ee66a4f803673ae (patch)
treed58af81a2afbe1841578ee2a9d9dfff8304db226 /pkg
parent8bfb83d0acdea553082b897d3fd0ad1c1580eaa9 (diff)
Update reference to old type
PiperOrigin-RevId: 246036806 Change-Id: I5554a43a1f8146c927402db3bf98488a2da0fbe7
Diffstat (limited to 'pkg')
-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