aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-03-07 04:08:55 -0500
committerEric W. Biederman <ebiederm@xmission.com>2013-03-07 04:08:55 -0500
commit9141770548d529b9d32d5b08d59b65ee65afe0d4 (patch)
treec2987579079cd95ff6fff500044f555cc2c755ee /fs
parent7f78e0351394052e1a6293e175825eb5c7869507 (diff)
fs: Limit sys_mount to only request filesystem modules (Part 2).
Add missing MODULE_ALIAS_FS("ocfs2") how did I miss that? Remove unnecessary MODULE_ALIAS_FS("devpts") devpts can not be modular. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/devpts/inode.c1
-rw-r--r--fs/ocfs2/super.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c
index 79b662985efe..073d30b9d1ac 100644
--- a/fs/devpts/inode.c
+++ b/fs/devpts/inode.c
@@ -510,7 +510,6 @@ static struct file_system_type devpts_fs_type = {
510 .fs_flags = FS_USERNS_MOUNT | FS_USERNS_DEV_MOUNT, 510 .fs_flags = FS_USERNS_MOUNT | FS_USERNS_DEV_MOUNT,
511#endif 511#endif
512}; 512};
513MODULE_ALIAS_FS("devpts");
514 513
515/* 514/*
516 * The normal naming convention is simply /dev/pts/<number>; this conforms 515 * The normal naming convention is simply /dev/pts/<number>; this conforms
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 9b6910dec4ba..01b85165552b 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1266,6 +1266,7 @@ static struct file_system_type ocfs2_fs_type = {
1266 .fs_flags = FS_REQUIRES_DEV|FS_RENAME_DOES_D_MOVE, 1266 .fs_flags = FS_REQUIRES_DEV|FS_RENAME_DOES_D_MOVE,
1267 .next = NULL 1267 .next = NULL
1268}; 1268};
1269MODULE_ALIAS_FS("ocfs2");
1269 1270
1270static int ocfs2_check_set_options(struct super_block *sb, 1271static int ocfs2_check_set_options(struct super_block *sb,
1271 struct mount_options *options) 1272 struct mount_options *options)