diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-04-09 16:40:12 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-09 16:41:27 -0700 |
commit | 9f87502b4619b60779ce19c41ea0e6bd6582e8e4 (patch) | |
tree | 4005d090dab8dfc8401d097265754bec0d2869d9 /pkg/sentry/mm/aio_context_state.go | |
parent | ace90f823cf33d1c1180dcd0d2061c702270a0d6 (diff) |
Remove TODOs from Async IO
Block and drain requests in io_destroy(2).
Note the reason to create read-only mapping.
PiperOrigin-RevId: 305786312
Diffstat (limited to 'pkg/sentry/mm/aio_context_state.go')
-rw-r--r-- | pkg/sentry/mm/aio_context_state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/mm/aio_context_state.go b/pkg/sentry/mm/aio_context_state.go index c37fc9f7b..3dabac1af 100644 --- a/pkg/sentry/mm/aio_context_state.go +++ b/pkg/sentry/mm/aio_context_state.go @@ -16,5 +16,5 @@ package mm // afterLoad is invoked by stateify. func (a *AIOContext) afterLoad() { - a.done = make(chan struct{}, 1) + a.requestReady = make(chan struct{}, 1) } |