summaryrefslogtreecommitdiffstats
path: root/arch/alpha/Makefile
diff options
context:
space:
mode:
authorAndries E. Brouwer <Andries.Brouwer@cwi.nl>2007-12-17 16:19:55 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-17 19:28:16 -0800
commitb47b6f38e5202c924bfe7632dce5dda4e3d40731 (patch)
treeb9dfeb426adc7125ac7828d5b646d893163314c6 /arch/alpha/Makefile
parent9e2de407bec98fb07040f658f55fb71ba1b594f5 (diff)
downloadlinux-b47b6f38e5202c924bfe7632dce5dda4e3d40731.tar.gz
linux-b47b6f38e5202c924bfe7632dce5dda4e3d40731.tar.bz2
linux-b47b6f38e5202c924bfe7632dce5dda4e3d40731.zip
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>
Diffstat (limited to 'arch/alpha/Makefile')
0 files changed, 0 insertions, 0 deletions