Commit 4baee921 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix buglet with splice fallback.

parent 880bc3f0
......@@ -380,7 +380,7 @@ func (ms *MountState) write(req *request) Status {
sz := req.flatDataSize()
buf := ms.AllocOut(req, uint32(sz))
req.flatData = req.fdData.Bytes(buf)
header = req.serializeHeader(req.flatDataSize())
header = req.serializeHeader(len(req.flatData))
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment