aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 2bdb124333ab..125639ddaffe 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1854,6 +1854,12 @@ struct btrfs_root *open_ctree(struct super_block *sb,
1854 1854
1855 btrfs_check_super_valid(fs_info, sb->s_flags & MS_RDONLY); 1855 btrfs_check_super_valid(fs_info, sb->s_flags & MS_RDONLY);
1856 1856
1857 /*
1858 * In the long term, we'll store the compression type in the super
1859 * block, and it'll be used for per file compression control.
1860 */
1861 fs_info->compress_type = BTRFS_COMPRESS_ZLIB;
1862
1857 ret = btrfs_parse_options(tree_root, options); 1863 ret = btrfs_parse_options(tree_root, options);
1858 if (ret) { 1864 if (ret) {
1859 err = ret; 1865 err = ret;