From: "J. Bruce Fields" <bfields@fieldses.org>
To: Michal Schmidt <mschmidt@redhat.com>
Cc: linux-nfs@vger.kernel.org, Trond Myklebust <trond@netapp.com>
Subject: Re: [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name
Date: Wed, 6 Jul 2011 11:33:24 -0400 [thread overview]
Message-ID: <20110706153324.GA30349@fieldses.org> (raw)
In-Reply-To: <20110701224712.12393.10369.stgit@localhost6.localdomain6>
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
next prev parent reply other threads:[~2011-07-06 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-09-30 16:42 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110706153324.GA30349@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=mschmidt@redhat.com \
--cc=trond@netapp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).