diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-07-01 18:47:12 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-10-10 18:04:47 -0400 |
commit | dcbf8c30344dfa01915c34f88318d464e116f004 (patch) | |
tree | d030245c4f27424db27245fe4a315456ad06eb2b /net/sunrpc/rpc_pipe.c | |
parent | b31b30e5c76b7653b4434fcdc3c5d2b46a367c2a (diff) |
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 <mschmidt@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
1084 | kmem_cache_destroy(rpc_inode_cachep); | 1084 | kmem_cache_destroy(rpc_inode_cachep); |
1085 | unregister_filesystem(&rpc_pipe_fs_type); | 1085 | unregister_filesystem(&rpc_pipe_fs_type); |
1086 | } | 1086 | } |
1087 | |||
1088 | /* Make 'mount -t rpc_pipefs ...' autoload this module. */ | ||
1089 | MODULE_ALIAS("rpc_pipefs"); | ||