summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9/buffer_test.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-11-17 15:37:05 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-17 15:39:48 -0800
commit949742be882149a42fcb26807bc78a6ec135bdb2 (patch)
tree913418578eb7908307531c4104248c54fb6c2991 /pkg/p9/buffer_test.go
parent10ba578c018294bb037a7eb90010491cdda270a7 (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/p9/buffer_test.go')
0 files changed, 0 insertions, 0 deletions