Skip to content
Commit f9ae9cf5 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: revert commit which was causing fs corruption after journal replays



Commit 00764937 ("ext4: initialize multi-block allocator before
checking block descriptors") causes the block group descriptor's count
of the number of free blocks to become inconsistent with the number of
free blocks in the allocation bitmap.  This is a harmless form of fs
corruption, but it causes the kernel to potentially remount the file
system read-only, or to panic, depending on the file systems's error
behavior.

Thanks to Eric Whitney for his tireless work to reproduce and to find
the guilty commit.

Fixes: 00764937 ("ext4: initialize multi-block allocator before checking block descriptors"

Cc: stable@vger.kernel.org  # 3.15
Reported-by: default avatarDavid Jander <david@protonic.nl>
Reported-by: default avatarMatteo Croce <technoboy85@gmail.com>
Tested-by: default avatarEric Whitney <enwlinux@gmail.com>
Suggested-by: default avatarEric Whitney <enwlinux@gmail.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 5dd21424
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