summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/mounts_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/mounts_test.go')
-rw-r--r--pkg/sentry/fs/mounts_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/mounts_test.go b/pkg/sentry/fs/mounts_test.go
index a69b41468..975d6cbc9 100644
--- a/pkg/sentry/fs/mounts_test.go
+++ b/pkg/sentry/fs/mounts_test.go
@@ -51,7 +51,7 @@ func TestFindLink(t *testing.T) {
}
root := mm.Root()
- defer root.DecRef()
+ defer root.DecRef(ctx)
foo, err := root.Walk(ctx, root, "foo")
if err != nil {
t.Fatalf("Error walking to foo: %v", err)