summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfstree/btree_forrest.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-15 11:09:35 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-15 11:09:35 -0600
commitc2925f0f8a5d69369b43de0d2d201291fe5ed9d1 (patch)
tree996f557b23618650983146ff0e93e8204a8ff5d3 /lib/btrfs/btrfstree/btree_forrest.go
parent9ff81649f425370bf3c1aee32542a784119947f8 (diff)
parentbb9dafebfbf3bfd6ea111c88371844f3402f3f3f (diff)
Merge branch 'lukeshu/misc'
Diffstat (limited to 'lib/btrfs/btrfstree/btree_forrest.go')
-rw-r--r--lib/btrfs/btrfstree/btree_forrest.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/btrfs/btrfstree/btree_forrest.go b/lib/btrfs/btrfstree/btree_forrest.go
index ace2b49..0bab610 100644
--- a/lib/btrfs/btrfstree/btree_forrest.go
+++ b/lib/btrfs/btrfstree/btree_forrest.go
@@ -34,8 +34,8 @@ func RootItemSearchFn(treeID btrfsprim.ObjID) func(btrfsprim.Key, uint32) int {
}
}
-// LookupTreeRoot is a utility function to help with implementing the 'Trees'
-// interface.
+// LookupTreeRoot is a utility function to help with implementing the
+// 'TreeOperator' interface.
func LookupTreeRoot(fs TreeOperator, sb Superblock, treeID btrfsprim.ObjID) (*TreeRoot, error) {
switch treeID {
case btrfsprim.ROOT_TREE_OBJECTID: