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