diff mbox

[3/8] Btrfs: Add lz4 compression to avaialble compression ops

Message ID 1401580116-10458-4-git-send-email-philip.worrall@googlemail.com (mailing list archive)
State Deferred
Headers show

Commit Message

Philip Worrall May 31, 2014, 11:48 p.m. UTC
Add lz4 compression structure to available btrfs compression
operations.

Signed-off-by: Philip Worrall <philip.worrall@googlemail.com>
---
 fs/btrfs/compression.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index ed1ff1c..35b3268 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -747,6 +747,7 @@  static wait_queue_head_t comp_workspace_wait[BTRFS_COMPRESS_TYPES];
 static struct btrfs_compress_op *btrfs_compress_op[] = {
 	&btrfs_zlib_compress,
 	&btrfs_lzo_compress,
+	&btrfs_lz4_compress,
 };
 
 void __init btrfs_init_compress(void)