From: Keir Fraser Subject: Re: xenbus_dev_write and failed writes Date: Fri, 02 Mar 2007 16:26:22 +0000 Message-ID: References: <20070302160652.GB21544@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070302160652.GB21544@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2/3/07 16:06, "John Levon" wrote: > In several places after setting u->len we return directly on error. > Apart from the partial write case, it seems all of these should be > resetting u->len to 0 as happens in the success case? Indeed. Now fixed (along with a couple of other bugs in that function). -- Keir