Andries E. Brouwer b47b6f38e5 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: <linux-ext4@vger.kernel.org>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-17 19:28:16 -08:00
..
2007-10-17 08:42:47 -07:00
2007-11-14 18:45:43 -08:00
2007-10-18 14:37:31 -07:00
2007-11-14 18:45:43 -08:00
2005-10-30 17:37:25 -08:00
2007-12-17 19:28:16 -08:00
2007-10-19 11:53:34 -07:00