diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-01 21:48:56 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-01 21:48:56 -0600 |
commit | 22c72e497425dd24695f5ee8f883c977c7e38db6 (patch) | |
tree | 2cc2546a56ba3d2ad50f8b4309f19f173549eb2a /cmd/btrfs-dump-tree | |
parent | 46c859edf45784ce099434bd967b352165801c85 (diff) |
rename WalkTree→TreeWalk
Diffstat (limited to 'cmd/btrfs-dump-tree')
-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 } |