Re: Fwd: ext4 extents.c bug

From: Ted Ts'o
Date: Tue Mar 13 2012 - 15:57:50 EST


On Tue, Mar 13, 2012 at 08:39:56PM +0100, Frej Eriksson wrote:
> [ 950.128885] ------------[ cut here ]------------
> [ 950.128893] kernel BUG at /build/buildd/linux-2.6.35/fs/ext4/extents.c:1971!

Your file system is corrupted, and there are two bugs. (1) e2fsck
wasn't detecting this form of file system corruption (a zero-length
extent entry), and (2) the kernel was not noticing until an assertion
check using BUG_ON, instead of flagging this as a file systme error.

The fixes for both of these problems, in the kernel and in e2fsprogs,
are here:

http://article.gmane.org/gmane.comp.file-systems.ext4/31359
http://article.gmane.org/gmane.comp.file-systems.ext4/31360

Best regards,

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/