aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/blkfront
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2008-08-20 09:22:37 +0000
committerKip Macy <kmacy@FreeBSD.org>2008-08-20 09:22:37 +0000
commit4615bad1421863a7c994f5302fd47cc75967299e (patch)
tree17e6497cd744155eafe355ed18fe868e629a81a0 /sys/dev/xen/blkfront
parentfc3a86f6e952acfcd5f4d92a7fa3179656283bd5 (diff)
Notes
Diffstat (limited to 'sys/dev/xen/blkfront')
-rw-r--r--sys/dev/xen/blkfront/blkfront.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 2859d0f5ea14..0f84ece4443e 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