diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-04 16:33:11 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-04 16:33:11 +0000 |
commit | 9bd06563049671dbc979ce25ca931a1dfd906570 (patch) | |
tree | b14ce7dc65612927789fd2123b0036f053324a26 /pkg/sentry/fs/gofer/socket.go | |
parent | 37bac1411e4b92af438448bf0bdeaed55bd1d1e1 (diff) | |
parent | d7cd484091543827678f1548b8e5668a7a86e13f (diff) |
Merge release-20200127.0-58-gd7cd484 (automated)
Diffstat (limited to 'pkg/sentry/fs/gofer/socket.go')
-rw-r--r-- | pkg/sentry/fs/gofer/socket.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/sentry/fs/gofer/socket.go b/pkg/sentry/fs/gofer/socket.go index 376cfce2c..10ba2f5f0 100644 --- a/pkg/sentry/fs/gofer/socket.go +++ b/pkg/sentry/fs/gofer/socket.go @@ -32,15 +32,15 @@ func (i *inodeOperations) BoundEndpoint(inode *fs.Inode, path string) transport. return nil } - if i.session().endpoints != nil { - unlock := i.session().endpoints.lock() + if i.session().overrides != nil { + unlock := i.session().overrides.lock() defer unlock() - ep := i.session().endpoints.get(i.fileState.key) + ep := i.session().overrides.getBoundEndpoint(i.fileState.key) if ep != nil { return ep } - // Not found in endpoints map, it may be a gofer backed unix socket... + // Not found in overrides map, it may be a gofer backed unix socket... } inode.IncRef() |