From 15e36b57cb507591a75ff487c0bbf9b048a78b36 Mon Sep 17 00:00:00 2001 From: kmacy Date: Wed, 20 Aug 2008 09:22:37 +0000 Subject: mark blkfront_info as ready MFC after: 1 month --- sys/dev/xen/blkfront/blkfront.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/xen/blkfront/blkfront.c') diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c index 2859d0f..0f84ece 100644 --- a/sys/dev/xen/blkfront/blkfront.c +++ b/sys/dev/xen/blkfront/blkfront.c @@ -482,7 +482,8 @@ connect(struct blkfront_info *info) info->connected = BLKIF_STATE_CONNECTED; kick_pending_request_queues(info); mtx_unlock(&blkif_io_lock); - + info->is_ready = 1; + #if 0 add_disk(info->gd); #endif -- cgit v1.1