diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-02 16:02:42 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-30 10:07:19 -0600 |
commit | c7b6460ee9b3c07c13c973cbc8c8f690560fefc6 (patch) | |
tree | af7a1e957d0ffcae3e2ba3d3a11a8c64a545a65f /cmd | |
parent | f9fd200f70d5746e6e5b64e1c6e7ed2474081964 (diff) |
tree-wide: Drop the old btrfstree.TreeOperator API
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/btrfs-rec/inspect/mount/mount.go | 2 | ||||
-rw-r--r-- | cmd/btrfs-rec/inspect_lsfiles.go | 2 |
2 files changed, 2 insertions, 2 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, ), diff --git a/cmd/btrfs-rec/inspect_lsfiles.go b/cmd/btrfs-rec/inspect_lsfiles.go index 00a4873..abc73bc 100644 --- a/cmd/btrfs-rec/inspect_lsfiles.go +++ b/cmd/btrfs-rec/inspect_lsfiles.go @@ -32,7 +32,7 @@ func init() { return lsfiles.LsFiles( cmd.Context(), out, - btrfsutil.NewOldRebuiltForrest(cmd.Context(), fs)) + btrfsutil.NewOldRebuiltForrest(fs)) }), }) } |