summaryrefslogtreecommitdiffstats
path: root/kernel/net/9p/trans_virtio.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/9p/trans_virtio.c')
-rw-r--r--kernel/net/9p/trans_virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/9p/trans_virtio.c b/kernel/net/9p/trans_virtio.c
index 9dd49ca67..6e70ddb15 100644
--- a/kernel/net/9p/trans_virtio.c
+++ b/kernel/net/9p/trans_virtio.c
@@ -704,6 +704,7 @@ static void p9_virtio_remove(struct virtio_device *vdev)
mutex_unlock(&virtio_9p_lock);
+ vdev->config->reset(vdev);
vdev->config->del_vqs(vdev);
sysfs_remove_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr);