diff options
author | Jamie Liu <jamieliu@google.com> | 2019-12-10 18:16:47 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-10 18:21:07 -0800 |
commit | 46651a7d26559bdc69d460bdeb4de5968212d615 (patch) | |
tree | 00ca98ae40b9a2c12a8dfa3a51ec98cd78d04cf9 /pkg/sentry/fsimpl/memfs/benchmark_test.go | |
parent | 4ff71b5be462f3f16808abea11de1f5e01567e5d (diff) |
Add most VFS methods for syscalls.
PiperOrigin-RevId: 284892289
Diffstat (limited to 'pkg/sentry/fsimpl/memfs/benchmark_test.go')
-rw-r--r-- | pkg/sentry/fsimpl/memfs/benchmark_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/memfs/benchmark_test.go b/pkg/sentry/fsimpl/memfs/benchmark_test.go index ea6417ce7..4a7a94a52 100644 --- a/pkg/sentry/fsimpl/memfs/benchmark_test.go +++ b/pkg/sentry/fsimpl/memfs/benchmark_test.go @@ -394,7 +394,7 @@ func BenchmarkVFS2MemfsMountStat(b *testing.B) { } defer mountPoint.DecRef() // Create and mount the submount. - if err := vfsObj.NewMount(ctx, creds, "", &pop, "memfs", &vfs.GetFilesystemOptions{}); err != nil { + if err := vfsObj.MountAt(ctx, creds, "", &pop, "memfs", &vfs.MountOptions{}); err != nil { b.Fatalf("failed to mount tmpfs submount: %v", err) } filePathBuilder.WriteString(mountPointName) |