diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-13 23:58:04 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-19 00:46:29 -0400 |
commit | c4597bbacc76eb5ddea4d3a2a062353895c90fbe (patch) | |
tree | 9462d0fbfe9a8b76900ef2e118cefde2a385443f /lib/btrfsutil/old_rebuilt_forrest.go | |
parent | e5bd082182f410bb46aa7653e8af0b440ec3632b (diff) |
btrfstree: TreeRoot: Rename the member from TreeID to just ID
Diffstat (limited to 'lib/btrfsutil/old_rebuilt_forrest.go')
-rw-r--r-- | lib/btrfsutil/old_rebuilt_forrest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfsutil/old_rebuilt_forrest.go b/lib/btrfsutil/old_rebuilt_forrest.go index 8ae7149..ace79e9 100644 --- a/lib/btrfsutil/old_rebuilt_forrest.go +++ b/lib/btrfsutil/old_rebuilt_forrest.go @@ -203,7 +203,7 @@ func (bt *OldRebuiltForrest) rawTreeWalk(treeID btrfsprim.ObjID, cacheEntry *old // This is a panic because I'm not really sure what the best way to // handle this is, and so if this happens I want the program to crash // and force me to figure out how to handle it. - panic(fmt.Errorf("dup key=%v in tree=%v", item.Key, root.TreeID)) + panic(fmt.Errorf("dup key=%v in tree=%v", item.Key, treeID)) } cacheEntry.Items.Insert(oldRebuiltTreeValue{ Key: item.Key, |