Skip to contentSkip to conversation

sunrpc: add MODULE_ALIAS to match the filesystem name

PATCH In review Michal Schmidt 2 participants 3 messages Jul 1, 2011 – Sep 30, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 net/sunrpc/rpc_pipe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
net/sunrpc/rpc_pipe.c +3 -0
index 72bc536..c1d1996 100644
@@ -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");
#1 lore raw
Quoted 3 lines · Michal Schmidt

sunrpc implements the rpc_pipefs filesystem type.
Add the alias to have the module requested automatically by the kernel when the filesystem is mounted.

Makes sense to me.--b.

Quoted 23 lines

---

 net/sunrpc/rpc_pipe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
net/sunrpc/rpc_pipe.c +3 -1
index 72bc536..c1d1996 100644
@@ -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");
 
--

To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 6 lines · bfields
Quoted 3 lines · Michal Schmidt

sunrpc implements the rpc_pipefs filesystem type.
Add the alias to have the module requested automatically by the kernel when the filesystem is mounted.

Makes sense to me.--b.

Hm, don't see this in Trond's stuff so I'll queue it up with nfsd stuff for 3.2.

--b.

Quoted 24 lines
Quoted 24 lines

---

 net/sunrpc/rpc_pipe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
net/sunrpc/rpc_pipe.c +3 -1
index 72bc536..c1d1996 100644
@@ -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");
 
--

To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html