Btrfs: free reserved space on error in a few places
authorJosef Bacik <jbacik@fusionio.com>
Mon, 7 Oct 2013 19:21:08 +0000 (15:21 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:56:41 +0000 (21:56 -0500)
commit857cc2fc29cfaf4ee98fe9967bbf6a3942191136
treeae0ba49149643241d5ae8b85e08f7c2dacb04ef8
parent0be5dc67c445230b0889dba63defba9a9e5561b4
Btrfs: free reserved space on error in a few places

While trying to track down a reserved space leak I noticed a few places where we
won't properly clean up reserved space if we have an error, this patch fixes
those up.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c
fs/btrfs/inode.c