diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-02-24 09:54:04 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-24 09:54:04 +0000 |
commit | 2b0d4ebbbaa18506fdba8988210fc0f2009ca379 (patch) | |
tree | 0e0db247ab0af10514946faa2e39f0650df2802c /pkg/sentry/syscalls/linux/vfs2 | |
parent | 2b55523a949a97f16e77535ca6638c79f155847c (diff) | |
parent | 6e000d3424c0eed685483f54348c6b0a752a0435 (diff) |
Merge release-20210208.0-84-g6e000d342 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux/vfs2')
-rw-r--r-- | pkg/sentry/syscalls/linux/vfs2/aio.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/vfs2/aio.go b/pkg/sentry/syscalls/linux/vfs2/aio.go index 1365a5a62..de6789a65 100644 --- a/pkg/sentry/syscalls/linux/vfs2/aio.go +++ b/pkg/sentry/syscalls/linux/vfs2/aio.go @@ -177,7 +177,7 @@ func getAIOCallback(t *kernel.Task, fd, eventFD *vfs.FileDescription, cbAddr use // Update the result. if err != nil { - err = slinux.HandleIOErrorVFS2(t, ev.Result != 0 /* partial */, err, nil /* never interrupted */, "aio", fd) + err = slinux.HandleIOErrorVFS2(ctx, ev.Result != 0 /* partial */, err, nil /* never interrupted */, "aio", fd) ev.Result = -int64(kernel.ExtractErrno(err, 0)) } |