From: Michal Schmidt Date: Fri, 1 Jul 2011 22:47:12 +0000 (+0200) Subject: sunrpc: add MODULE_ALIAS to match the filesystem name X-Git-Tag: firefly_0821_release~3680^2~4224^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dcbf8c30344dfa01915c34f88318d464e116f004;p=firefly-linux-kernel-4.4.55.git sunrpc: add MODULE_ALIAS to match the filesystem name sunrpc implements the rpc_pipefs filesystem type. Add the alias to have the module requested automatically by the kernel when the filesystem is mounted. Signed-off-by: Michal Schmidt Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index b181e3441323..3156ba864519 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1084,3 +1084,6 @@ void unregister_rpc_pipefs(void) kmem_cache_destroy(rpc_inode_cachep); unregister_filesystem(&rpc_pipe_fs_type); } + +/* Make 'mount -t rpc_pipefs ...' autoload this module. */ +MODULE_ALIAS("rpc_pipefs");