diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index f348f2b93164..a1a76b2a61f9 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -168,6 +168,9 @@ int btrfs_parse_options(struct btrfs_root *root, char *options) | |||
168 | strcmp(args[0].from, "zlib") == 0) { | 168 | strcmp(args[0].from, "zlib") == 0) { |
169 | compress_type = "zlib"; | 169 | compress_type = "zlib"; |
170 | info->compress_type = BTRFS_COMPRESS_ZLIB; | 170 | info->compress_type = BTRFS_COMPRESS_ZLIB; |
171 | } else if (strcmp(args[0].from, "lzo") == 0) { | ||
172 | compress_type = "lzo"; | ||
173 | info->compress_type = BTRFS_COMPRESS_LZO; | ||
171 | } else { | 174 | } else { |
172 | ret = -EINVAL; | 175 | ret = -EINVAL; |
173 | goto out; | 176 | goto out; |