diff mbox

[2/2] NFS: Alias the nfs module to nfs4

Message ID CAMFXNOyz7iC45dd+9XWONXSxkL-XZHWb_W3rYrvP+QmLH39b5Q@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

bjschuma@gmail.com Aug. 8, 2012, 6:01 p.m. UTC
I forgot to CC the mailing list... oops.


---------- Forwarded message ----------
From: bjschuma@gmail.com <bjschuma@gmail.com>
Date: Wed, Aug 8, 2012 at 1:57 PM
Subject: [PATCH 2/2] NFS: Alias the nfs module to nfs4
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>, jlayton@redhat.com


This allows distros to remove the line from their modprobe
configuration.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
---
 fs/nfs/super.c  | 2 ++
 1 files changed, 2 insertions(+)

 #endif /* CONFIG_NFS_V4 */
--
1.7.11.4
--
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

Comments

Jeff Layton Aug. 14, 2012, 5:28 p.m. UTC | #1
On Wed, 8 Aug 2012 14:01:42 -0400
"bjschuma@gmail.com" <bjschuma@gmail.com> wrote:

> I forgot to CC the mailing list... oops.
> 
> 
> ---------- Forwarded message ----------
> From: bjschuma@gmail.com <bjschuma@gmail.com>
> Date: Wed, Aug 8, 2012 at 1:57 PM
> Subject: [PATCH 2/2] NFS: Alias the nfs module to nfs4
> To: Trond Myklebust <Trond.Myklebust@netapp.com>
> Cc: "J. Bruce Fields" <bfields@fieldses.org>, jlayton@redhat.com
> 
> 
> This allows distros to remove the line from their modprobe
> configuration.
> 
> Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
> ---
>  fs/nfs/super.c  | 2 ++
>  1 files changed, 2 insertions(+)
> 
> diff --git a/fs/nfs/super.c b/fs/nfs/super.c
> index c4a15c5..239aff7 100644
> --- a/fs/nfs/super.c
> +++ b/fs/nfs/super.c
> @@ -2680,4 +2680,6 @@ MODULE_PARM_DESC(max_session_slots, "Maximum
> number of outstanding NFSv4.1 "
>  module_param(send_implementation_id, ushort, 0644);
>  MODULE_PARM_DESC(send_implementation_id,
>                 "Send implementation ID with NFSv4.1 exchange_id");
> +MODULE_ALIAS("nfs4");
> +
>  #endif /* CONFIG_NFS_V4 */
> --
> 1.7.11.4
> --
> 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

ACK...

Should this also go to stable?
diff mbox

Patch

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index c4a15c5..239aff7 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2680,4 +2680,6 @@  MODULE_PARM_DESC(max_session_slots, "Maximum
number of outstanding NFSv4.1 "
 module_param(send_implementation_id, ushort, 0644);
 MODULE_PARM_DESC(send_implementation_id,
                "Send implementation ID with NFSv4.1 exchange_id");
+MODULE_ALIAS("nfs4");
+