summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect
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:07:19 -0600
commitc7b6460ee9b3c07c13c973cbc8c8f690560fefc6 (patch)
treeaf7a1e957d0ffcae3e2ba3d3a11a8c64a545a65f /cmd/btrfs-rec/inspect
parentf9fd200f70d5746e6e5b64e1c6e7ed2474081964 (diff)
tree-wide: Drop the old btrfstree.TreeOperator API
Diffstat (limited to 'cmd/btrfs-rec/inspect')
-rw-r--r--cmd/btrfs-rec/inspect/mount/mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect/mount/mount.go b/cmd/btrfs-rec/inspect/mount/mount.go
index 143131a..28363ed 100644
--- a/cmd/btrfs-rec/inspect/mount/mount.go
+++ b/cmd/btrfs-rec/inspect/mount/mount.go
@@ -54,7 +54,7 @@ func MountRO(ctx context.Context, fs *btrfs.FS, mountpoint string, noChecksums b
rootSubvol := &subvolume{
Subvolume: btrfs.NewSubvolume(
ctx,
- btrfsutil.NewOldRebuiltForrest(ctx, fs),
+ btrfsutil.NewOldRebuiltForrest(fs),
btrfsprim.FS_TREE_OBJECTID,
noChecksums,
),