Skip to content
Commit 607eb266 authored by Andries Brouwer's avatar Andries Brouwer Committed by Linus Torvalds
Browse files

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f5fb09fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment