commit | c59f8951d48c5eb000926935f3ab063d8181d1ee | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Dec 17 20:14:04 2007 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:58 2008 -0400 |
tree | ddf1e3ecb8a03fc30add98ee263c23eb6d382621 | |
parent | d10c5f31c79c6a703974ae29d0a05781b828fe30 [diff] [blame] |
Btrfs: Add mount option to enforce a max extent size Signed-off-by: Chris Mason <chris.mason@oracle.com>
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 @@ 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;