diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-06 10:20:01 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-06 10:20:01 -0600 |
commit | 28f09b784b5741f044b755dc7033a82075d2d98c (patch) | |
tree | db80cd6bfda920ec700fd20aee112eedf6e9dd7a /cmd/btrfs-fsck/main.go | |
parent | 20c21bf5ebc085f6f318e9199a1fee5f44c6ea61 (diff) |
write support
Diffstat (limited to 'cmd/btrfs-fsck/main.go')
-rw-r--r-- | cmd/btrfs-fsck/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/btrfs-fsck/main.go b/cmd/btrfs-fsck/main.go index 5f958a6..1996711 100644 --- a/cmd/btrfs-fsck/main.go +++ b/cmd/btrfs-fsck/main.go @@ -231,6 +231,9 @@ func Main(imgfilename string) (err error) { if err != nil { fmt.Printf("Pass 1: ... new node checksum: error: %v\n", err) } + if err := reconstructedNode.Write(); err != nil { + fmt.Printf("Pass 1: ... write new node: error:: %v\n", err) + } fmt.Printf("\nPass 2: ?????????????????????????\n") //////////////////////////////////////// /* |