diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-03-04 16:25:37 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-03-04 16:33:22 -0500 |
commit | aca1bba6f9bc550a33312b28e98b3de5ddb3bb15 (patch) | |
tree | 00d21d15fe4e57ee3e1618c898d0a78c7aab5068 /sound/pcmcia | |
parent | 8f71f3e0e4fb5a2445fb93d3057a33aefc4aa30d (diff) | |
download | blackbird-op-linux-aca1bba6f9bc550a33312b28e98b3de5ddb3bb15.tar.gz blackbird-op-linux-aca1bba6f9bc550a33312b28e98b3de5ddb3bb15.zip |
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 <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions