summaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-03-13 02:27:41 +0100
committerEric W. Biederman <ebiederm@xmission.com>2013-03-13 02:55:21 +0100
commitfa7614ddd6c2368b8cd54cc67ab4b767af0a2a50 (patch)
tree75cea4b4e4d0fcf6a4c0d4914993d85623fc3061 /fs/nfs/super.c
parentfs: Limit sys_mount to only request filesystem modules. (Part 3) (diff)
downloadlinux-fa7614ddd6c2368b8cd54cc67ab4b767af0a2a50.tar.xz
linux-fa7614ddd6c2368b8cd54cc67ab4b767af0a2a50.zip
fs: Readd the fs module aliases.
I had assumed that the only use of module aliases for filesystems prior to "fs: Limit sys_mount to only request filesystem modules." was in request_module. It turns out I was wrong. At least mkinitcpio in Arch linux uses these aliases. So readd the preexising aliases, to keep from breaking userspace. Userspace eventually will have to follow and use the same aliases the kernel does. So at some point we may be delete these aliases without problems. However that day is not today. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 95cdcb208dfb..2f8a29db0f1b 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -335,6 +335,7 @@ struct file_system_type nfs4_fs_type = {
.fs_flags = FS_RENAME_DOES_D_MOVE|FS_BINARY_MOUNTDATA,
};
MODULE_ALIAS_FS("nfs4");
+MODULE_ALIAS("nfs4");
EXPORT_SYMBOL_GPL(nfs4_fs_type);
static int __init register_nfs4_fs(void)