summaryrefslogtreecommitdiff
path: root/fs/squashfs/super.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-03-11 07:05:42 -0700
committerEric W. Biederman <ebiederm@xmission.com>2013-03-11 07:09:48 -0700
commit3e64fe5b21852375f2f53e7244ba697f1fee2fcf (patch)
tree43c3cd480c7ed68aaf431980995a30f1f44ee637 /fs/squashfs/super.c
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
downloadlwn-3e64fe5b21852375f2f53e7244ba697f1fee2fcf.tar.gz
lwn-3e64fe5b21852375f2f53e7244ba697f1fee2fcf.zip
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>
Diffstat (limited to 'fs/squashfs/super.c')
-rw-r--r--fs/squashfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c
index 260e3928d4f5..60553a9053ca 100644
--- a/fs/squashfs/super.c
+++ b/fs/squashfs/super.c
@@ -489,6 +489,7 @@ static struct file_system_type squashfs_fs_type = {
.kill_sb = kill_block_super,
.fs_flags = FS_REQUIRES_DEV
};
+MODULE_ALIAS_FS("squashfs");
static const struct super_operations squashfs_super_ops = {
.alloc_inode = squashfs_alloc_inode,