diff options
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)) }), }) } |