All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name
@ 2011-07-01 22:47 Michal Schmidt
  2011-07-06 15:33 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Schmidt @ 2011-07-01 22:47 UTC (permalink / raw)
  To: linux-nfs

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>
---

 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 72bc536..c1d1996 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");


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name
  2011-07-01 22:47 [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name Michal Schmidt
@ 2011-07-06 15:33 ` J. Bruce Fields
  2011-09-30 16:42   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: J. Bruce Fields @ 2011-07-06 15:33 UTC (permalink / raw)
  To: Michal Schmidt; +Cc: linux-nfs, Trond Myklebust

On Sat, Jul 02, 2011 at 12:47:12AM +0200, Michal Schmidt wrote:
> 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.

> 
> Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
> ---
> 
>  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 72bc536..c1d1996 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");
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name
  2011-07-06 15:33 ` J. Bruce Fields
@ 2011-09-30 16:42   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2011-09-30 16:42 UTC (permalink / raw)
  To: Michal Schmidt; +Cc: linux-nfs, Trond Myklebust

On Wed, Jul 06, 2011 at 11:33:24AM -0400, bfields wrote:
> On Sat, Jul 02, 2011 at 12:47:12AM +0200, Michal Schmidt wrote:
> > 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.

> 
> > 
> > Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
> > ---
> > 
> >  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 72bc536..c1d1996 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");
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-30 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-01 22:47 [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name Michal Schmidt
2011-07-06 15:33 ` J. Bruce Fields
2011-09-30 16:42   ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.