]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Panic on bad rbtree operations
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:22:33 +0000 (23:22 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:30 +0000 (01:45 +0100)
commit07ecee8a2a85e1ba73dcd53a48f65034a62952a8
tree18a5a3d5958348f7dbc6c5ca267aab982f02f13d
parent1bb6f25f00aa399f9c6a4a3e784d5b29ee245de1
btrfs: Panic on bad rbtree operations

The ordered data and relocation trees have BUG_ONs to protect against
bad tree operations.

This patch replaces them with a panic that will report the problem.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
fs/btrfs/ordered-data.c
fs/btrfs/relocation.c