summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorbjschuma@gmail.com <bjschuma@gmail.com>2012-08-08 13:57:10 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 10:00:18 -0700
commite5cd679ea475fd731686fa3c632c2d30b9d59a6d (patch)
treecba6692e2df869bdb3ff9b072adfb030f6ab8816 /fs
parent3cf3cfc448c480c86c439ba7c707a7b4f73ba9d9 (diff)
downloadlinux-3.10-e5cd679ea475fd731686fa3c632c2d30b9d59a6d.tar.gz
linux-3.10-e5cd679ea475fd731686fa3c632c2d30b9d59a6d.tar.bz2
linux-3.10-e5cd679ea475fd731686fa3c632c2d30b9d59a6d.zip
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 <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 4ac7fca7e4b..7b55f51137e 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -3146,4 +3146,6 @@ static struct dentry *nfs4_referral_mount(struct file_system_type *fs_type,
return res;
}
+MODULE_ALIAS("nfs4");
+
#endif /* CONFIG_NFS_V4 */