[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [BLKTAP] remove spurious error message



# HG changeset patch
# User Jake Wires <jwires@xxxxxxxxxxxxx>
# Date 1173907131 25200
# Node ID 817647aff01f2770aa60064cac0445a2169a18b3
# Parent  517e67f0fe5257c3c313eaa2f3cb2299db0037f0
[BLKTAP] remove spurious error message
Signed-off-by: Jake Wires <jwires@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 517e67f0fe52 -r 817647aff01f 
linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c  Wed Mar 14 19:35:26 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c  Wed Mar 14 14:18:51 
2007 -0700
@@ -299,7 +299,9 @@ static void tap_backend_changed(struct x
         * and disk info to xenstore
         */
        err = xenbus_gather(XBT_NIL, dev->nodename, "info", "%lu", &info, 
-                           NULL);      
+                           NULL);
+       if (XENBUS_EXIST_ERR(err))
+               return;
        if (err) {
                xenbus_dev_error(dev, err, "getting info");
                return;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.