diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2021-10-17 16:46:11 +0300 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2021-11-03 03:50:35 +0300 |
commit | 4cd82a5bb0f68236f67b1678bc9e6348a42241ed (patch) | |
tree | 07e99ec9f62849458007333e3e1c3c32fc66bc68 /net/9p/trans_rdma.c | |
parent | 27eb4c3144f7a5ebef3c9a261d80cb3e1fa784dc (diff) | |
download | linux-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_rdma.c')
-rw-r--r-- | net/9p/trans_rdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c index af0a8a6cd3fd..480fd27760d7 100644 --- a/net/9p/trans_rdma.c +++ b/net/9p/trans_rdma.c @@ -767,6 +767,7 @@ static void __exit p9_trans_rdma_exit(void) module_init(p9_trans_rdma_init); module_exit(p9_trans_rdma_exit); +MODULE_ALIAS_9P("rdma"); MODULE_AUTHOR("Tom Tucker <tom@opengridcomputing.com>"); MODULE_DESCRIPTION("RDMA Transport for 9P"); |