Btrfs: Fix balance_level to free the middle block if there is room in the left one
authorChris Mason <chris.mason@oracle.com>
Thu, 24 Apr 2008 18:42:46 +0000 (14:42 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:02 +0000 (11:04 -0400)
balance level starts by trying to empty the middle block, and then
pushes from the right to the middle.  This might empty the right block
and leave a small number of pointers in the middle.

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

Simple merge
Simple merge