summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/kernfs/symlink.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-17 00:16:04 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-17 00:16:04 +0000
commit422a0ed80273a8c08ae28c7b5e754c436fb0d574 (patch)
tree80e08c1124b9011e48ed75dfdd00f72de2f6fdae /pkg/sentry/fsimpl/kernfs/symlink.go
parent5885666c146218d4c845cb6030f657c3e0f75ecd (diff)
parentae59e529791e4763aaa25eee818605f17699fc67 (diff)
Merge release-20200907.0-120-gae59e5297 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/kernfs/symlink.go')
-rw-r--r--pkg/sentry/fsimpl/kernfs/symlink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/kernfs/symlink.go b/pkg/sentry/fsimpl/kernfs/symlink.go
index 64731a3e4..a9812fcef 100644
--- a/pkg/sentry/fsimpl/kernfs/symlink.go
+++ b/pkg/sentry/fsimpl/kernfs/symlink.go
@@ -52,7 +52,7 @@ func (s *StaticSymlink) Init(creds *auth.Credentials, devMajor uint32, devMinor
}
// Readlink implements Inode.
-func (s *StaticSymlink) Readlink(_ context.Context) (string, error) {
+func (s *StaticSymlink) Readlink(_ context.Context, _ *vfs.Mount) (string, error) {
return s.target, nil
}