Btrfs: cleanup the code of used_block_group in find_free_extent()
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 Jan 2014 12:00:56 +0000 (20:00 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:39 +0000 (13:20 -0800)
commit215a63d139b1e04ce4b595eeca84671782eb5758
tree9c813902da86e942c2def0468b7f2db54cb9f0f4
parent920e4a58d27ea146b34674cf9565ab0373f9ca51
Btrfs: cleanup the code of used_block_group in find_free_extent()

used_block_group is just used for the space cluster which doesn't
belong to the current block group, the other place needn't use it.
Or the logic of code seems unclear.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c