ia64/linux-2.6.18-xen.hg

changeset 821:6669e480cb59

xenbus: Add new states to xenbus_strstate()

This patch adds the following states to the xenbus_strstate().
- XenbusStateReconfiguring
- XenbusStateReconfigured

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 17 14:27:31 2009 +0000 (2009-03-17)
parents 8b86d11a6eb3
children fb46e5625c61
files drivers/xen/xenbus/xenbus_client.c
line diff
     1.1 --- a/drivers/xen/xenbus/xenbus_client.c	Tue Mar 17 14:21:51 2009 +0000
     1.2 +++ b/drivers/xen/xenbus/xenbus_client.c	Tue Mar 17 14:27:31 2009 +0000
     1.3 @@ -53,6 +53,8 @@ const char *xenbus_strstate(enum xenbus_
     1.4  		[ XenbusStateConnected    ] = "Connected",
     1.5  		[ XenbusStateClosing      ] = "Closing",
     1.6  		[ XenbusStateClosed	  ] = "Closed",
     1.7 +		[ XenbusStateReconfiguring ] = "Reconfiguring",
     1.8 +		[ XenbusStateReconfigured ] = "Reconfigured",
     1.9  	};
    1.10  	return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
    1.11  }