diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-06 12:26:09 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-06 12:26:09 -0600 |
commit | 7a464fd038977ba1d57d730e7f15a4df5c8ca91a (patch) | |
tree | fb09c0e57c5a744a20ee4c734016237da84e5a46 /cmd/btrfs-fsck | |
parent | 432c52514c037402f1bbfb13ebf5997c4a2f0033 (diff) |
fix
Diffstat (limited to 'cmd/btrfs-fsck')
-rw-r--r-- | cmd/btrfs-fsck/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/btrfs-fsck/main.go b/cmd/btrfs-fsck/main.go index 79237a6..be9f313 100644 --- a/cmd/btrfs-fsck/main.go +++ b/cmd/btrfs-fsck/main.go @@ -211,7 +211,7 @@ func Main(imgfilename string) (err error) { stripeSize := stripes[0].Size for _, stripe := range stripes { if stripe.Size != stripeSize { - panic("mismatch") + panic("TODO: mismatch") } } itemSize := uint32(binstruct.StaticSize(btrfsitem.ChunkHeader{}) + (len(stripes) * binstruct.StaticSize(btrfsitem.ChunkStripe{}))) @@ -240,7 +240,7 @@ func Main(imgfilename string) (err error) { Size: stripeSize, Owner: btrfs.EXTENT_TREE_OBJECTID, StripeLen: 65536, // ??? - Type: TODO, + Type: 0, // TODO IOOptimalAlign: superblock.Data.DevItem.IOOptimalAlign, IOOptimalWidth: superblock.Data.DevItem.IOOptimalWidth, IOMinSize: superblock.Data.DevItem.IOMinSize, |