summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-ref.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-04-01 06:39:06 (GMT)
committerChris Mason <clm@fb.com>2015-06-10 16:24:59 (GMT)
commit00db646d3fb3f5f62c2327abcf3630f4cc1075ba (patch)
tree6dcc37bf71b946cd6322028f67bf315e83fbd4b7 /fs/btrfs/delayed-ref.c
parent20b2e3029eef277cd93a46a991004260057e1a9e (diff)
downloadlinux-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.c')
0 files changed, 0 insertions, 0 deletions