]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ext2: prevent div-by-zero on corrupted fs
authorAndries Brouwer <Andries.Brouwer@cwi.nl>
Sun, 27 Aug 2006 08:23:43 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:30 +0000 (11:01 -0700)
commit607eb266aea9dd2abe515985e12c5cd8b32546e8
tree3b1625033430f2f9091bfe749554c245a223f666
parentf5fb09fa3392ad43fbcfc2f4580752f383ab5996
[PATCH] ext2: prevent div-by-zero on corrupted fs

Mounting an ext2 filesystem with zero s_inodes_per_group will cause a
divide error.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/super.c