Commit
3e64fe5b21852375f2f53e7244ba697f1fee2fcf
fs: Limit sys_mount to only request filesystem modules. (Part 3)
Somehow I failed to add the MODULE_ALIAS_FS for cifs, hostfs, hpfs,
squashfs, and udf despite what I thought were my careful checks :(
Add them now.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Showing
5 changed files
with
5 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -777,6 +777,7 @@ |
777
|
777 |
.kill_sb = cifs_kill_sb, |
778
|
778 |
/* .fs_flags */ |
779
|
779 |
}; |
|
780 |
+MODULE_ALIAS_FS("cifs"); |
780
|
781 |
const struct inode_operations cifs_dir_inode_ops = { |
781
|
782 |
.create = cifs_create, |
782
|
783 |
.atomic_open = cifs_atomic_open, |
... |
... |
@@ -688,6 +688,7 @@ |
688
|
688 |
.kill_sb = kill_block_super, |
689
|
689 |
.fs_flags = FS_REQUIRES_DEV, |
690
|
690 |
}; |
|
691 |
+MODULE_ALIAS_FS("hpfs"); |
691
|
692 |
|
692
|
693 |
static int __init init_hpfs_fs(void) |
693
|
694 |
{ |
... |
... |
@@ -489,6 +489,7 @@ |
489
|
489 |
.kill_sb = kill_block_super, |
490
|
490 |
.fs_flags = FS_REQUIRES_DEV |
491
|
491 |
}; |
|
492 |
+MODULE_ALIAS_FS("squashfs"); |
492
|
493 |
|
493
|
494 |
static const struct super_operations squashfs_super_ops = { |
494
|
495 |
.alloc_inode = squashfs_alloc_inode, |
... |
... |
@@ -118,6 +118,7 @@ |
118
|
118 |
.kill_sb = kill_block_super, |
119
|
119 |
.fs_flags = FS_REQUIRES_DEV, |
120
|
120 |
}; |
|
121 |
+MODULE_ALIAS_FS("udf"); |
121
|
122 |
|
122
|
123 |
static struct kmem_cache *udf_inode_cachep; |
123
|
124 |
|