btrfs-progs: check: switch to iterating over the backref_tree
authorJeff Mahoney <jeffm@suse.com>
Tue, 25 Jul 2017 20:51:33 +0000 (16:51 -0400)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:41:05 +0000 (13:41 +0200)
commitad39e6252b098f62a81912dd5c97b74076a80c74
tree2877b9b45e8548647f1493097613024c1fd1ff7c
parent756105181e57074ce9d232e397abc0121cbb6bf6
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