Btrfs: fix wrong block group in trace during the free space allocation
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 Jan 2014 12:00:57 +0000 (20:00 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:40 +0000 (13:20 -0800)
commit89d4346a36a00ab1f9bd71f929564e9fc1c7c539
tree4779b5390a6787db371110884c008ab834474ca9
parent215a63d139b1e04ce4b595eeca84671782eb5758
Btrfs: fix wrong block group in trace during the free space allocation

We allocate the free space from the former block group, not the current
one, so should use the former one to output the trace information.

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