summaryrefslogtreecommitdiffstats
path: root/net/9p/trans_virtio.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-10-17 15:46:11 +0200
committerDominique Martinet <asmadeus@codewreck.org>2021-11-03 09:50:35 +0900
commit4cd82a5bb0f68236f67b1678bc9e6348a42241ed (patch)
tree07e99ec9f62849458007333e3e1c3c32fc66bc68 /net/9p/trans_virtio.c
parent27eb4c3144f7a5ebef3c9a261d80cb3e1fa784dc (diff)
downloadlinux-4cd82a5bb0f68236f67b1678bc9e6348a42241ed.tar.gz
linux-4cd82a5bb0f68236f67b1678bc9e6348a42241ed.tar.bz2
linux-4cd82a5bb0f68236f67b1678bc9e6348a42241ed.zip
net/9p: autoload transport modules
Automatically load transport modules based on the trans= parameter passed to mount. This removes the requirement for the user to know which module to use. Link: http://lkml.kernel.org/r/20211017134611.4330-1-linux@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/trans_virtio.c')
-rw-r--r--net/9p/trans_virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 490a4c900339..bd5a89c4960d 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -794,6 +794,7 @@ static void __exit p9_virtio_cleanup(void)
module_init(p9_virtio_init);
module_exit(p9_virtio_cleanup);
+MODULE_ALIAS_9P("virtio");
MODULE_DEVICE_TABLE(virtio, id_table);
MODULE_AUTHOR("Eric Van Hensbergen <ericvh@gmail.com>");