From: Yan Zheng Date: Wed, 17 Dec 2008 15:21:48 +0000 (-0500) Subject: Btrfs: properly check free space for tree balancing X-Git-Tag: v2.6.29-rc1~27^2~9^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87b29b208c6c38f3446d2de6ece946e2459052cf;p=pandora-kernel.git Btrfs: properly check free space for tree balancing btrfs_insert_empty_items takes the space needed by the btrfs_item structure into account when calculating the required free space. So the tree balancing code shouldn't add sizeof(struct btrfs_item) to the size when checking the free space. This patch removes these superfluous additions. Signed-off-by: Yan Zheng --- Reading git-diff-tree failed