summaryrefslogtreecommitdiff
path: root/net/9p/trans_xen.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-10-17 16:46:11 +0300
committerDominique Martinet <asmadeus@codewreck.org>2021-11-03 03:50:35 +0300
commit4cd82a5bb0f68236f67b1678bc9e6348a42241ed (patch)
tree07e99ec9f62849458007333e3e1c3c32fc66bc68 /net/9p/trans_xen.c
parent27eb4c3144f7a5ebef3c9a261d80cb3e1fa784dc (diff)
downloadlinux-4cd82a5bb0f68236f67b1678bc9e6348a42241ed.tar.xz
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_xen.c')
-rw-r--r--net/9p/trans_xen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c
index 3ec1a51a6944..e264dcee019a 100644
--- a/net/9p/trans_xen.c
+++ b/net/9p/trans_xen.c
@@ -552,6 +552,7 @@ static int p9_trans_xen_init(void)
return rc;
}
module_init(p9_trans_xen_init);
+MODULE_ALIAS_9P("xen");
static void p9_trans_xen_exit(void)
{