diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2020-11-17 15:37:05 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-17 15:39:48 -0800 |
commit | 949742be882149a42fcb26807bc78a6ec135bdb2 (patch) | |
tree | 913418578eb7908307531c4104248c54fb6c2991 /pkg/safecopy | |
parent | 10ba578c018294bb037a7eb90010491cdda270a7 (diff) |
Allow short writes from gofers.
They were returning io.ErrShortWrite, but that is not handled at higher levels
and resulted in a panic.
We can just return the short write directly from the p9 call without
ErrShortWrite.
PiperOrigin-RevId: 342960441
Diffstat (limited to 'pkg/safecopy')
0 files changed, 0 insertions, 0 deletions