direct-io.hg
changeset 7594:3492adc0ad60
Temporary fix for blkfront failure on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Tue Nov 01 16:44:25 2005 +0100 (2005-11-01) |
parents | 0b8f92adc679 |
children | 305649f5ad56 |
files | linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Tue Nov 01 16:28:20 2005 +0100 1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Tue Nov 01 16:44:25 2005 +0100 1.3 @@ -458,7 +458,7 @@ static void watch_for_status(struct xenb 1.4 node += strlen(watch->node); 1.5 1.6 /* FIXME: clean up when error on the other end. */ 1.7 - if (info->connected == BLKIF_STATE_CONNECTED) 1.8 + if ((info->connected == BLKIF_STATE_CONNECTED) || info->mi) 1.9 return; 1.10 1.11 err = xenbus_gather(NULL, watch->node,