On Wed, Apr 22, 2015 at 11:55:14AM +0200, Johannes Berg wrote: > From: Johannes Berg <[email protected]> > > Al Viro's IOV changes broke 9p readdir() because the new code > didn't abort the read when it returned nothing. The original > code checked if the combined error/length was <= 0 but in the > new code that accidentally got changed to just an error check. > > Add back the return from the function when nothing is read.
Nice catch... FWIW, this hadn't been caught since it doesn't trigger on 9P.L tests. Applied, and testing setup fixed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

