diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-04-01 09:39:06 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-10 19:24:59 +0300 |
commit | 00db646d3fb3f5f62c2327abcf3630f4cc1075ba (patch) | |
tree | 6dcc37bf71b946cd6322028f67bf315e83fbd4b7 /fs/btrfs/delayed-ref.h | |
parent | 20b2e3029eef277cd93a46a991004260057e1a9e (diff) | |
download | linux-00db646d3fb3f5f62c2327abcf3630f4cc1075ba.tar.xz |
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/delayed-ref.h')
0 files changed, 0 insertions, 0 deletions