Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91417705 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 7f78e035
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -510,7 +510,6 @@ static struct file_system_type devpts_fs_type = {
	.fs_flags	= FS_USERNS_MOUNT | FS_USERNS_DEV_MOUNT,
#endif
};
MODULE_ALIAS_FS("devpts");

/*
 * The normal naming convention is simply /dev/pts/<number>; this conforms
+1 −0
Original line number Diff line number Diff line
@@ -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)