search for: put_block_group

Displaying 1 result from an estimated 1 matches for "put_block_group".

2009 Mar 20
1
[PATCH 2/4] Btrfs: clean up find_free_extent
...block_group->alloc_mutex); - break; - } -new_group: + btrfs_remove_free_space_lock(block_group, search_start, + num_bytes); + /* we are all good, lets return */ + mutex_unlock(&block_group->alloc_mutex); + break; +loop: mutex_unlock(&block_group->alloc_mutex); put_block_group(block_group); - block_group = NULL; -new_group_no_lock: - /* don''t try to compare new allocations against the - * last allocation any more - */ - last_wanted = 0; - - /* - * Here''s how this works. - * loop == 0: we were searching a block group via a hint - * and did...