Message ID | 1401580116-10458-7-git-send-email-philip.worrall@googlemail.com (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6d1ac7d..56bab54 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2479,7 +2479,8 @@ int open_ctree(struct super_block *sb, features |= BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF; if (tree_root->fs_info->compress_type == BTRFS_COMPRESS_LZO) features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO; - + if (tree_root->fs_info->compress_type == BTRFS_COMPRESS_LZ4) + features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_LZ4; if (features & BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) printk(KERN_ERR "BTRFS: has skinny extents\n");
Signed-off-by: Philip Worrall <philip.worrall@googlemail.com> --- fs/btrfs/disk-io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)