diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-12-17 20:14:04 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:58 -0400 |
commit | c59f8951d48c5eb000926935f3ab063d8181d1ee (patch) | |
tree | ddf1e3ecb8a03fc30add98ee263c23eb6d382621 /fs/btrfs/disk-io.c | |
parent | d10c5f31c79c6a703974ae29d0a05781b828fe30 (diff) | |
download | op-kernel-dev-c59f8951d48c5eb000926935f3ab063d8181d1ee.zip op-kernel-dev-c59f8951d48c5eb000926935f3ab063d8181d1ee.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 2785641..7213012 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) fs_info->extent_root = extent_root; fs_info->sb = sb; fs_info->mount_opt = 0; + fs_info->max_extent = (u64)-1; fs_info->btree_inode = new_inode(sb); fs_info->btree_inode->i_ino = 1; fs_info->btree_inode->i_nlink = 1; |