Btrfs: Properly update free space cache in __free_extent
authorYan <yanzheng@21cn.com>
Tue, 6 Nov 2007 15:25:25 +0000 (10:25 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000 (11:03 -0400)
commitc549228ff63498025bf0b065c5a5909a06f21647
tree123c5982f979af1d0fcfafce1d34ba19626302fc
parentb293f02e1423f2099744f3ade23ddd83b65321fc
Btrfs: Properly update free space cache in __free_extent

When pin_down_bytes decides not to pin a block because it was from the
current transaction, make sure the in memory cache of free extents is updated

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c