summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/epoll/epoll_state.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-12 17:29:59 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-12 17:29:59 +0000
commitb8c205542c13df2b97629e6235eb8656c55494dd (patch)
tree827ec99fd04d0739cfd7c2958586b1e2f4345457 /pkg/sentry/kernel/epoll/epoll_state.go
parenta77fbc58b6782b28d2462b62f49f56c6d0f17cc3 (diff)
parent8682ce689e928ec32ec810a7eb038fb582c66093 (diff)
Merge release-20210927.0-60-g8682ce689 (automated)
Diffstat (limited to 'pkg/sentry/kernel/epoll/epoll_state.go')
-rw-r--r--pkg/sentry/kernel/epoll/epoll_state.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/epoll/epoll_state.go b/pkg/sentry/kernel/epoll/epoll_state.go
index e08d6287f..135a6d72c 100644
--- a/pkg/sentry/kernel/epoll/epoll_state.go
+++ b/pkg/sentry/kernel/epoll/epoll_state.go
@@ -21,9 +21,7 @@ import (
// afterLoad is invoked by stateify.
func (p *pollEntry) afterLoad() {
- p.waiter.Callback = p
p.file = refs.NewWeakRef(p.id.File, p)
- p.id.File.EventRegister(&p.waiter, p.mask)
}
// afterLoad is invoked by stateify.