sunrpc: add MODULE_ALIAS to match the filesystem name
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 1 Jul 2011 22:47:12 +0000 (00:47 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Oct 2011 22:04:47 +0000 (18:04 -0400)
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 <mschmidt@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/rpc_pipe.c

index b181e3441323e4bfc5aff8831055a3641b29a421..3156ba8645195c347d1a4e4cd7f6d8fbd2078d22 100644 (file)
@@ -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");