summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
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,