|
@@ -575,6 +575,8 @@ static int p9_virtio_probe(struct virtio_device *vdev)
|
|
/* Ceiling limit to avoid denial of service attacks */
|
|
/* Ceiling limit to avoid denial of service attacks */
|
|
chan->p9_max_pages = nr_free_buffer_pages()/4;
|
|
chan->p9_max_pages = nr_free_buffer_pages()/4;
|
|
|
|
|
|
|
|
+ virtio_device_ready(vdev);
|
|
|
|
+
|
|
mutex_lock(&virtio_9p_lock);
|
|
mutex_lock(&virtio_9p_lock);
|
|
list_add_tail(&chan->chan_list, &virtio_chan_list);
|
|
list_add_tail(&chan->chan_list, &virtio_chan_list);
|
|
mutex_unlock(&virtio_9p_lock);
|
|
mutex_unlock(&virtio_9p_lock);
|