From: Liu Bo Date: Mon, 4 Mar 2013 16:25:37 +0000 (+0000) Subject: Btrfs: build up error handling for merge_reloc_roots X-Git-Tag: v3.9-rc2~3^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca1bba6f9bc550a33312b28e98b3de5ddb3bb15;p=pandora-kernel.git Btrfs: build up error handling for merge_reloc_roots We first use btrfs_std_error hook to replace with BUG_ON, and we also need to cleanup what is left, including reloc roots rbtree and reloc roots list. Here we use a helper function to cleanup both rbtree and list, and since this function can also be used in the balance recover path, we also make the change as well to keep code simple. Signed-off-by: Liu Bo Signed-off-by: Josef Bacik --- Reading git-diff-tree failed