]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: __add_reloc_root error push-up
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:23:15 +0000 (23:23 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:34 +0000 (01:45 +0100)
commit803d757c6922d126a817a0cc3d7d418c1e44a48b
treebb7b3b2293bedc58b0d09f146ef68d0614432072
parent64febcc3f00c12b7eae738f8329da56719a70691
btrfs: __add_reloc_root error push-up

This patch pushes kmalloc errors up to the caller and BUGs in the caller.

The BUG_ON for duplicate reloc tree root insertion is replaced with a
panic explaining the issue.

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