Btrfs: make backref walking code handle skinny metadata
authorJosef Bacik <jbacik@fusionio.com>
Fri, 28 Jun 2013 17:11:22 +0000 (13:11 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 2 Jul 2013 15:51:02 +0000 (11:51 -0400)
commit261c84b662f93e0eb75bccd6cd732391d005060a
tree8a982a07457895d119993e878405cf635a966157
parent35f0399db6658f465b00893bdd13b992a0acfef0
Btrfs: make backref walking code handle skinny metadata

I missed fixing the backref stuff when I introduced the skinny metadata.  If you
try and do things like snapshot aware defrag with skinny metadata you are going
to see tons of warnings related to the backref count being less than 0.  This is
because the delayed refs will be found for stuff just fine, but it won't find
the skinny metadata extent refs.  With this patch I'm not seeing warnings
anymore.  Thanks,

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/backref.c