diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-07 01:08:55 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-07 01:08:55 -0800 |
commit | 9141770548d529b9d32d5b08d59b65ee65afe0d4 (patch) | |
tree | c2987579079cd95ff6fff500044f555cc2c755ee /fs/ocfs2/super.c | |
parent | 7f78e0351394052e1a6293e175825eb5c7869507 (diff) | |
download | linux-9141770548d529b9d32d5b08d59b65ee65afe0d4.tar.gz linux-9141770548d529b9d32d5b08d59b65ee65afe0d4.tar.bz2 linux-9141770548d529b9d32d5b08d59b65ee65afe0d4.zip |
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/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { .fs_flags = FS_REQUIRES_DEV|FS_RENAME_DOES_D_MOVE, .next = NULL }; +MODULE_ALIAS_FS("ocfs2"); static int ocfs2_check_set_options(struct super_block *sb, struct mount_options *options) |