summaryrefslogtreecommitdiff
path: root/btrfs-convert.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-12-16 20:33:58 +0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:19 -0800
commit91bc44bd073020c27487b22ccf53a37d593d331e (patch)
tree05316b95b9b17912e33995ce438199b0f3228bf2 /btrfs-convert.c
parent5e5fd1b9edb97e713352686e650c05d59fb1287b (diff)
btrfs-progs: use stripe_len define here
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'btrfs-convert.c')
-rw-r--r--btrfs-convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-convert.c b/btrfs-convert.c
index 010de8ae..1b66de78 100644
--- a/btrfs-convert.c
+++ b/btrfs-convert.c
@@ -1713,7 +1713,7 @@ static int prepare_system_chunk_sb(struct btrfs_super_block *super)
btrfs_set_stack_chunk_length(chunk, btrfs_super_total_bytes(super));
btrfs_set_stack_chunk_owner(chunk, BTRFS_EXTENT_TREE_OBJECTID);
- btrfs_set_stack_chunk_stripe_len(chunk, 64 * 1024);
+ btrfs_set_stack_chunk_stripe_len(chunk, BTRFS_STRIPE_LEN);
btrfs_set_stack_chunk_type(chunk, BTRFS_BLOCK_GROUP_SYSTEM);
btrfs_set_stack_chunk_io_align(chunk, sectorsize);
btrfs_set_stack_chunk_io_width(chunk, sectorsize);