]> 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)
commitff8b098a6aaeca38e353a793a1c253e271c7e7da
treebb7b3b2293bedc58b0d09f146ef68d0614432072
parentb18ba7173f976a309ad0e53c752f8ee719636555
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