diff options
| author | Andries E. Brouwer <[email protected]> | 2007-12-17 16:19:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-12-17 19:28:16 -0800 |
| commit | b47b6f38e5202c924bfe7632dce5dda4e3d40731 (patch) | |
| tree | b9dfeb426adc7125ac7828d5b646d893163314c6 /include/linux | |
| parent | 9e2de407bec98fb07040f658f55fb71ba1b594f5 (diff) | |
ext3, ext4: avoid divide by zero
As it turns out, the kernel divides by EXT3_INODES_PER_GROUP(s) when
mounting an ext3 filesystem. If that number is zero, a crash follows.
Below a patch.
This crash was reported by Joeri de Ruiter, Carst Tankink and Pim Vullers.
Cc: <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions