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)
commit43c04fb1b8c9f45d971bb53d7cbbcda8ee85716b
tree18a5a3d5958348f7dbc6c5ca267aab982f02f13d
parentc2d904e086b6f707b73bf065e4d18ded4b86ae9e
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