diff options
author | Josef Bacik | 2009-04-03 16:14:19 +0200 |
---|---|---|
committer | Chris Mason | 2009-04-03 16:14:19 +0200 |
commit | 70cb074345832b75cf422ed729706345511773b3 (patch) | |
tree | 37f23796751a20feff12f935568d4f5fff33b3fc /fs/select.c | |
parent | Btrfs: unplug in the async bio submission threads (diff) | |
download | kernel-qcow2-linux-70cb074345832b75cf422ed729706345511773b3.tar.gz kernel-qcow2-linux-70cb074345832b75cf422ed729706345511773b3.tar.xz kernel-qcow2-linux-70cb074345832b75cf422ed729706345511773b3.zip |
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 <jbacik@redhat.com>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions