aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-12-17 20:14:04 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:58 -0400
commitc59f8951d48c5eb000926935f3ab063d8181d1ee (patch)
treeddf1e3ecb8a03fc30add98ee263c23eb6d382621 /fs/btrfs/disk-io.c
parentd10c5f31c79c6a703974ae29d0a05781b828fe30 (diff)
Btrfs: Add mount option to enforce a max extent size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 278564178993..7213012c27d5 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -569,6 +569,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
569 fs_info->extent_root = extent_root; 569 fs_info->extent_root = extent_root;
570 fs_info->sb = sb; 570 fs_info->sb = sb;
571 fs_info->mount_opt = 0; 571 fs_info->mount_opt = 0;
572 fs_info->max_extent = (u64)-1;
572 fs_info->btree_inode = new_inode(sb); 573 fs_info->btree_inode = new_inode(sb);
573 fs_info->btree_inode->i_ino = 1; 574 fs_info->btree_inode->i_ino = 1;
574 fs_info->btree_inode->i_nlink = 1; 575 fs_info->btree_inode->i_nlink = 1;