summaryrefslogtreecommitdiff
path: root/cmd/btrfs-dump-tree
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-06-26 21:27:55 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-06-26 22:19:41 -0600
commit64c04fc690ec5a276e11500691173962bbe4d99e (patch)
treef01996f95da88c38ee4bc1aa3691dc650eebf2e7 /cmd/btrfs-dump-tree
parentbfb830d024fd6309d81e20a7d21a2433c4ec9c93 (diff)
fuss with exposing .LV and how init happens
Diffstat (limited to 'cmd/btrfs-dump-tree')
-rw-r--r--cmd/btrfs-dump-tree/main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/btrfs-dump-tree/main.go b/cmd/btrfs-dump-tree/main.go
index 9c8e4c5..ded7a39 100644
--- a/cmd/btrfs-dump-tree/main.go
+++ b/cmd/btrfs-dump-tree/main.go
@@ -35,9 +35,6 @@ func Main(imgfilename string) (err error) {
fs := new(btrfs.FS)
if err := fs.AddDevice(&btrfs.Device{File: fh}); err != nil {
- return err
- }
- if err := fs.Init(); err != nil {
fmt.Printf("(error) %v\n", err)
}