diff options
Diffstat (limited to 'net/9p/trans_virtio.c')
-rw-r--r-- | net/9p/trans_virtio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 6940d8fe8971..daa749c8b3fb 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c | |||
@@ -575,6 +575,8 @@ static int p9_virtio_probe(struct virtio_device *vdev) | |||
575 | /* Ceiling limit to avoid denial of service attacks */ | 575 | /* Ceiling limit to avoid denial of service attacks */ |
576 | chan->p9_max_pages = nr_free_buffer_pages()/4; | 576 | chan->p9_max_pages = nr_free_buffer_pages()/4; |
577 | 577 | ||
578 | virtio_device_ready(vdev); | ||
579 | |||
578 | mutex_lock(&virtio_9p_lock); | 580 | mutex_lock(&virtio_9p_lock); |
579 | list_add_tail(&chan->chan_list, &virtio_chan_list); | 581 | list_add_tail(&chan->chan_list, &virtio_chan_list); |
580 | mutex_unlock(&virtio_9p_lock); | 582 | mutex_unlock(&virtio_9p_lock); |