From: bjschuma@gmail.com Date: Wed, 8 Aug 2012 17:57:10 +0000 (-0400) Subject: NFS: Alias the nfs module to nfs4 X-Git-Tag: v3.5.4~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ebfd9ae46f26252dc15d6e961a960f91ff5501b;p=thirdparty%2Fkernel%2Fstable.git NFS: Alias the nfs module to nfs4 commit 425e776d93a7a5070b77d4f458a5bab0f924652c upstream. This allows distros to remove the line from their modprobe configuration. Signed-off-by: Bryan Schumaker Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 06228192f64ef..1d4b23e41e12b 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -2961,4 +2961,6 @@ static struct dentry *nfs4_referral_mount(struct file_system_type *fs_type, return res; } +MODULE_ALIAS("nfs4"); + #endif /* CONFIG_NFS_V4 */