1
0
mirror of https://github.com/Zygo/bees.git synced 2025-06-15 17:26:15 +02:00

btrfs-tree: add a method to get root backref items to BtrfsRootFetcher

This complements the already existing support for reading the fields of
a root backref.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell
2025-02-02 22:24:37 -05:00
parent 58ee297cde
commit dd08f6379f
2 changed files with 18 additions and 3 deletions

View File

@ -198,6 +198,7 @@ namespace crucible {
public:
BtrfsRootFetcher(const Fd &fd);
BtrfsTreeItem root(uint64_t subvol);
BtrfsTreeItem root_backref(uint64_t subvol);
};
/// Fetch data extent items from extent tree, skipping metadata-only block groups