diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-18 22:17:54 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-18 22:17:54 +0000 |
commit | 949b845b8901bd053203e2b05b595f19c31a903f (patch) | |
tree | 1abeb58400ddcad8b61f90410084f0d71f56993b | |
parent | 776df4db11fcfbea0f4b4832ab44656b08af616d (diff) | |
parent | f1d1af2a4ad35dd20a7c56bd9e842e347b126c31 (diff) |
Merge release-20200219.0-193-gf1d1af2 (automated)
-rw-r--r-- | pkg/sentry/kernel/fd_table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/fd_table.go b/pkg/sentry/kernel/fd_table.go index dddc28d5a..d09d97825 100644 --- a/pkg/sentry/kernel/fd_table.go +++ b/pkg/sentry/kernel/fd_table.go @@ -338,7 +338,7 @@ func (f *FDTable) NewFDVFS2(ctx context.Context, minfd int32, file *vfs.FileDesc fd = f.next } for fd < end { - if d, _, _ := f.get(fd); d == nil { + if d, _, _ := f.getVFS2(fd); d == nil { f.setVFS2(fd, file, flags) if fd == f.next { // Update next search start position. |