aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-11-23 07:24:46 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-14 08:07:23 -0800
commita7aaaff940e284035a16e07cf90424da386ddce1 (patch)
tree6d814aefa4560b1d3e7e93ba1987b7b7a7356a49 /usr
parent37bd334da00d116dba0526292891b1b572f1955b (diff)
ext4: avoid divide by zero when trying to mount a corrupted file system
(cherry picked from commit 503358ae01b70ce6909d19dd01287093f6b6271c) If s_log_groups_per_flex is greater than 31, then groups_per_flex will will overflow and cause a divide by zero error. This can cause kernel BUG if such a file system is mounted. Thanks to Nageswara R Sastry for analyzing the failure and providing an initial patch. http://bugzilla.kernel.org/show_bug.cgi?id=14287 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions