diff options
author | Dean Deng <deandeng@google.com> | 2020-04-09 11:15:42 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-09 11:17:11 -0700 |
commit | 2b4687a46bffc0999f1d5730397c13daba6ae4a9 (patch) | |
tree | 31c5a83abc0eabdf5827a65d6c134698bb7d56f9 /pkg/p9 | |
parent | 8f68be74919751775cfb3d8162a51351822a6f5f (diff) |
Handle os.LinkError in p9/handlers.go.
PiperOrigin-RevId: 305721329
Diffstat (limited to 'pkg/p9')
-rw-r--r-- | pkg/p9/handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/p9/handlers.go b/pkg/p9/handlers.go index a8b714cf5..1db5797dd 100644 --- a/pkg/p9/handlers.go +++ b/pkg/p9/handlers.go @@ -48,6 +48,8 @@ func ExtractErrno(err error) syscall.Errno { return ExtractErrno(e.Err) case *os.SyscallError: return ExtractErrno(e.Err) + case *os.LinkError: + return ExtractErrno(e.Err) } // Default case. |