btrfs-progs: check: switch to iterating over the backref_tree
authorJeff Mahoney <jeffm@suse.com>
Thu, 23 Jun 2016 19:26:06 +0000 (15:26 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Jul 2016 12:27:14 +0000 (14:27 +0200)
commitbbebe814c0e335745cfa773df966418e754b50e3
treed68bbbfd64a58bc506453627a30e628373c0f751
parent31d8235410985e0b64487354c9ba67d40c4bdfe3
btrfs-progs: check: switch to iterating over the backref_tree

We now have two data structures that can be used to iterate the same data
set, and there may be quite a few of them in memory.  Eliminating the
list_head member will reduce memory consumption while iterating over
the extent backrefs.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c