diff options
Diffstat (limited to 'cmd/btrfs-dump-tree/main.go')
-rw-r--r-- | cmd/btrfs-dump-tree/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/btrfs-dump-tree/main.go b/cmd/btrfs-dump-tree/main.go index b226af3..c7e4beb 100644 --- a/cmd/btrfs-dump-tree/main.go +++ b/cmd/btrfs-dump-tree/main.go @@ -63,8 +63,8 @@ func Main(imgfilename string) (err error) { return err } } - if err := fs.WalkTree(superblock.Data.RootTree, btrfs.WalkTreeHandler{ - Item: func(_ btrfs.WalkTreePath, item btrfs.Item) error { + if err := fs.TreeWalk(superblock.Data.RootTree, btrfs.TreeWalkHandler{ + Item: func(_ btrfs.TreeWalkPath, item btrfs.Item) error { if item.Head.Key.ItemType != btrfsitem.ROOT_ITEM_KEY { return nil } |