summaryrefslogtreecommitdiff
path: root/free-space-cache.h
diff options
context:
space:
mode:
authorSu Yue <suy.fnst@cn.fujitsu.com>2017-09-01 14:26:12 +0800
committerDavid Sterba <dsterba@suse.com>2017-10-16 20:33:01 +0200
commit4eb10e473e447f094c390577a1ae91896dde8a2e (patch)
tree4312aba844233c50ad394849851d27e0b66b5da5 /free-space-cache.h
parenta8ede30f93ad3f2c64b93f93713d89b15d5077a1 (diff)
btrfs-progs: check: introduce repair_tree_block_ref()
The only thing repair_tree_block_ref() does is that it adds backref of the tree_block. Just like what original repair do: It first searches the corresponding extent item then 1. If the extent item exists but backref is missing, add one backref to the extent. 2. if found nothing, just add an extent item and add one backref. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'free-space-cache.h')
0 files changed, 0 insertions, 0 deletions