Btrfs: free all recorded tree blocks on error
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 4 Mar 2013 16:25:38 +0000 (16:25 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 4 Mar 2013 21:33:23 +0000 (16:33 -0500)
commite1a1267054ea9dcafd01636e52d441f809efad5e
tree81c66abefae5b7c65d30a9535c73425da3375fde
parentaca1bba6f9bc550a33312b28e98b3de5ddb3bb15
Btrfs: free all recorded tree blocks on error

We've missed the 'free blocks' part on ENOMEM error.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/relocation.c