https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c0 Summary: kernel panic when mounting btrfs filesystem in free-space-cache.c Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gryffus@hkfree.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 Btrfs: fix tree log remove space corner case The tree log stuff can have allocated space that we end up having split across a bitmap and a real extent. The free space code does not deal with this, it assumes that if it finds an extent or bitmap entry that the entire range must fall within the entry it finds. This isn't necessarily the case, so rework the remove function so it can handle this case properly. This fixed two panics the user hit, first in the case where the space was initially in a bitmap and then in an extent entry, and then the reverse case. Thanks, Reported-and-tested-by: Shaun Reich <sreich@kde.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> (from http://kernel.opensuse.org/cgit/kernel/commit/?id=bdb7d303b33c1648514c9f9461... ) Reproducible: Always Steps to Reproduce: 1. Boot your system with btrfs filesystem 2. 3. Actual Results: Kernel panic when trying to use free space in free-space-cache.c Expected Results: System mounts filesystem and continues with boot This patch should be backported for openSUSE 11.4 through 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.