summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-15 14:36:47 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-15 15:51:32 -0600
commit5627aaea2c15a6fa8cca202614119f72972be37f (patch)
tree45e6199cb43fc0e64ca7714872cffd86a37d4959 /cmd
parentd9cb7963948cfb1d705c35653f5237a5e8fee3f3 (diff)
tidy up
Diffstat (limited to 'cmd')
-rw-r--r--cmd/btrfs-fsck/pass1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-fsck/pass1.go b/cmd/btrfs-fsck/pass1.go
index 4defd02..9c1d845 100644
--- a/cmd/btrfs-fsck/pass1.go
+++ b/cmd/btrfs-fsck/pass1.go
@@ -114,7 +114,7 @@ func pass1WriteReconstructedChunks(ctx context.Context, fs *btrfs.FS) {
Size: mapping.Size,
Owner: btrfs.EXTENT_TREE_OBJECTID,
StripeLen: 65536, // ???
- Type: *mapping.Flags,
+ Type: mapping.Flags.Val,
IOOptimalAlign: superblock.DevItem.IOOptimalAlign,
IOOptimalWidth: superblock.DevItem.IOOptimalWidth,
IOMinSize: superblock.DevItem.IOMinSize,