From: "Jan Beulich" Subject: xenbus_dev_request_and_reply() checking for transaction end Date: Thu, 18 Oct 2007 12:30:03 +0100 Message-ID: <47175FDB.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Jeremy, what is the motivation for doing if ((msg->type =3D=3D XS_TRANSACTION_END) || where linux-2.6.18-xen does if ((req_msg.type =3D=3D XS_TRANSACTION_END) || ? Is the intention to continue holding the mutex if sending the transaction= end message fails? If so, wouldn't this also require all users of xenbus_transaction_end() to do proper error checking *and* re-issuing? Thanks, Jan