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:06:52 -0600 |
commit | 7c9de305d3dd364d6d76c8869d55a09bf80b28a8 (patch) | |
tree | 46f2c74c85b9bf0136d2cd95e917d7fed42c5ba4 /cmd/btrfs-rec/inspect/lsfiles/lsfiles.go | |
parent | 537800d21ae5dd4b95364457ab46d6403bb27f16 (diff) |
btrfs: Migrate to the new btrfstree.Forrest API
Diffstat (limited to 'cmd/btrfs-rec/inspect/lsfiles/lsfiles.go')
-rw-r--r-- | cmd/btrfs-rec/inspect/lsfiles/lsfiles.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/btrfs-rec/inspect/lsfiles/lsfiles.go b/cmd/btrfs-rec/inspect/lsfiles/lsfiles.go index af8f690..dec472d 100644 --- a/cmd/btrfs-rec/inspect/lsfiles/lsfiles.go +++ b/cmd/btrfs-rec/inspect/lsfiles/lsfiles.go @@ -21,8 +21,6 @@ import ( "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfsitem" "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfsprim" "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfstree" - "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfsvol" - "git.lukeshu.com/btrfs-progs-ng/lib/diskio" "git.lukeshu.com/btrfs-progs-ng/lib/maps" "git.lukeshu.com/btrfs-progs-ng/lib/textui" ) @@ -32,8 +30,7 @@ func LsFiles( out io.Writer, fs interface { btrfstree.TreeOperator - Superblock() (*btrfstree.Superblock, error) - diskio.ReaderAt[btrfsvol.LogicalAddr] + btrfs.ReadableFS }, ) (err error) { defer func() { |