shithub: riscv

Download patch

ref: 046e0ee2594eb7f46d7d0bd76ee54371cb0a2669
parent: 688c1f15cdaa5fcad19d9fddb30e1c555bfc59e0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 21 15:11:04 EST 2016

exportfs: fix endless loop for eof/error on second read in localread9pmsg()

the ini buffer was not reset when we got eof in the message
body read causing a endless loop. instead of defining our
own read9pmsg() function, just handle the first read specially
when we consumed the first 4 bytes for the "impo" protocol
escape check.