From: Chris Mason Date: Wed, 24 Sep 2008 15:23:25 +0000 (-0400) Subject: Btrfs: Fix allocation completions in tree log replay X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b49c9b9f93e148815f2544d0c91f43b6d72eea9;p=pandora-kernel.git Btrfs: Fix allocation completions in tree log replay After a crash, the tree log code uses btrfs_alloc_logged_extent to record allocations of data extents that it finds in the log tree. These come in basically random order, which does not fit how btrfs_remove_free_space() expects to be called. btrfs_remove_free_space was changed to support recording an extent allocation in the middle of a region of free space. Signed-off-by: Chris Mason --- Reading git-diff-tree failed