Update comment.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Wed, 24 Aug 2005 09:44:03 +0000 (09:44 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Wed, 24 Aug 2005 09:44:03 +0000 (09:44 +0000)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c

index e32f91a035bc14487c77b103550f6f39649fee3e..ee41bdffe67cd036fe9cf9f411660798fc297c6a 100644 (file)
@@ -1331,9 +1331,9 @@ static int wait_for_blkif(void)
     int i;
 
     /*
-     * We should read 'nr_interfaces' from response message and wait
-     * for notifications before proceeding. For now we assume that we
-     * will be notified of exactly one interface.
+     * We should figure out how many and which devices we need to
+     * proceed and only wait for those.  For now, continue once the
+     * first device is around.
      */
     for ( i=0; blkif_state != BLKIF_STATE_CONNECTED && (i < 10*HZ); i++ )
     {