hpfs: disable the no-check mode The HPFS filesystem driver has three levels of checking: - none - no checks are done, the kernel may crash on corrupted filesystem - normal - a light check of filesystem structures is done when accessing them - strict - time-consuming checks are done, for example, when we work with a block, we check that it is allocated in the bitmap The default mode is "normal". The sysbot tool is fuzzing the filesystem with the "check=none" parameter, obviously it finds cases where the kernel accesses invalid memory on corrupted filesystem and reports them. I asked them to not fuzz the filesystem with "check=none", but they do it anyway, so I turn off the "check=none" mode and make it equivalent to "check=normal". Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index 371aa6d..ef7e2a3 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c
@@ -286,7 +286,7 @@ static const struct constant_table hpfs_param_case[] = { }; static const struct constant_table hpfs_param_check[] = { - {"none", 0}, + {"none", 1}, {"normal", 1}, {"strict", 2}, {}