]> 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)
commit5fb3129f5212ed2da529fd7ec75f93cd77b8eb0d
tree18a5a3d5958348f7dbc6c5ca267aab982f02f13d
parent96018cd36e6225d4bd0a5ef289930fca9b625a56
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