summaryrefslogtreecommitdiff
path: root/lib/btrfs/io4_fs.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-02 16:02:42 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-30 10:06:00 -0600
commit72b20c1d798551bfa2bb46f5521553144b45c09f (patch)
treeb317447fe966f42ab1480cd755506d35b98e0516 /lib/btrfs/io4_fs.go
parente62b128e088346e891b8b2a5e6458cf77abc9d02 (diff)
btrfstree: Rethink the API, but leave the old API in place
Diffstat (limited to 'lib/btrfs/io4_fs.go')
-rw-r--r--lib/btrfs/io4_fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfs/io4_fs.go b/lib/btrfs/io4_fs.go
index a611f35..57eca57 100644
--- a/lib/btrfs/io4_fs.go
+++ b/lib/btrfs/io4_fs.go
@@ -102,7 +102,7 @@ func NewSubvolume(
sv.rootErr = err
return sv
}
- rootInfo, err := btrfstree.LookupTreeRoot(ctx, sv.fs, *sb, sv.TreeID)
+ rootInfo, err := btrfstree.OldLookupTreeRoot(ctx, sv.fs.TreeSearch, *sb, sv.TreeID)
if err != nil {
sv.rootErr = err
return sv