summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfstree/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/btrfs/btrfstree/root.go')
-rw-r--r--lib/btrfs/btrfstree/root.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfs/btrfstree/root.go b/lib/btrfs/btrfstree/root.go
index 6ec45b5..319904b 100644
--- a/lib/btrfs/btrfstree/root.go
+++ b/lib/btrfs/btrfstree/root.go
@@ -30,7 +30,7 @@ func RootItemSearchFn(treeID btrfsprim.ObjID) func(btrfsprim.Key, uint32) int {
ObjectID: treeID,
ItemType: btrfsitem.ROOT_ITEM_KEY,
Offset: 0,
- }.Cmp(key)
+ }.Compare(key)
}
}