From: Josef Bacik Date: Fri, 3 Apr 2009 14:14:19 +0000 (-0400) Subject: Btrfs: free space cache cleanups X-Git-Tag: v2.6.30-rc1~222^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70cb074345832b75cf422ed729706345511773b3;p=pandora-kernel.git Btrfs: free space cache cleanups This patch cleans up the free space cache code a bit. It better documents the idiosyncrasies of tree_search_offset and makes the code make a bit more sense. I took out the info allocation at the start of __btrfs_add_free_space and put it where it makes more sense. This was left over cruft from when alloc_mutex existed. Also all of the re-searches we do to make sure we inserted properly. Signed-off-by: Josef Bacik --- Reading git-diff-tree failed