summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/syscalls.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/vfs/syscalls.go')
-rw-r--r--pkg/sentry/vfs/syscalls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/syscalls.go b/pkg/sentry/vfs/syscalls.go
index 49952b2cc..436151afa 100644
--- a/pkg/sentry/vfs/syscalls.go
+++ b/pkg/sentry/vfs/syscalls.go
@@ -63,7 +63,7 @@ func (vfs *VirtualFilesystem) GetDentryAt(ctx context.Context, creds *auth.Crede
mount: rp.mount,
dentry: d,
}
- rp.mount.incRef()
+ rp.mount.IncRef()
vfs.putResolvingPath(rp)
return vd, nil
}