diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-04-01 08:39:06 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-10 18:24:59 +0200 |
commit | 00db646d3fb3f5f62c2327abcf3630f4cc1075ba (patch) | |
tree | 6dcc37bf71b946cd6322028f67bf315e83fbd4b7 /fs/btrfs/extent-tree.c | |
parent | btrfs: Fix lockdep warning of wr_ctx->wr_lock in scrub_free_wr_ctx() (diff) | |
download | linux-00db646d3fb3f5f62c2327abcf3630f4cc1075ba.tar.xz linux-00db646d3fb3f5f62c2327abcf3630f4cc1075ba.zip |
btrfs: backref: Don't merge refs which are not for same block.
Old __merge_refs() in backref.c will even merge refs whose root_id are
different, which makes qgroup gives wrong result.
Fix it by checking ref_for_same_block() before any mode specific works.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions