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 09:59:29 -0700
commit7ebfd9ae46f26252dc15d6e961a960f91ff5501b (patch)
treeb80e0919a254243321b5c694965c386850ba39b1 /fs
parent78f47208c3d7022ec632764406161504386e8266 (diff)
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 06228192f64e..1d4b23e41e12 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 */