summaryrefslogtreecommitdiff
path: root/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-11-30 11:30:24 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-11-30 11:30:24 -0500
commit1883251686b1de012e909c4459deceff1f95a96c (patch)
tree4434ca0e314fa0d117b1833fcd5f5cdf347c49e2 /disk-io.c
parente3815ddde6e8ffdc7bec54a04611cfc243862372 (diff)
Add simple stripe size parameter
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-io.c b/disk-io.c
index df770407..026cdfde 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -320,6 +320,7 @@ static int __setup_root(struct btrfs_super_block *super,
root->sectorsize = btrfs_super_sectorsize(super);
root->nodesize = btrfs_super_nodesize(super);
root->leafsize = btrfs_super_leafsize(super);
+ root->stripesize = btrfs_super_stripesize(super);
root->ref_cows = 0;
root->fs_info = fs_info;
memset(&root->root_key, 0, sizeof(root->root_key));