Btrfs: fix missing reserved space release in error path of delalloc reservation
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 5 Dec 2012 10:53:25 +0000 (10:53 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:18 +0000 (20:46 -0500)
commit4b5829a8e3104c8bc115d926a0285d3ff9bcfc77
tree7d2c5060f86f850d4bfc9d6495ca7fe95b14f6da
parent543eabd5e1929bc73e22b279aa911eb01447535f
Btrfs: fix missing reserved space release in error path of delalloc reservation

We forget to release the reserved space in the error path of delalloc
reservatiom, fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c