aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zio_compress.c
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2013-10-05 17:55:24 -0400
committerBrian Behlendorf <[email protected]>2013-10-22 10:12:39 -0700
commitb3c49d3df82466646bde9beebce7bbf0b3c41853 (patch)
tree37c94c3b7468fd42d34f8a02474c1894d24a659f /module/zfs/zio_compress.c
parent2e2ddc30b47c174d95c2eb491452a7587e3e129f (diff)
Linux 3.11 compat: Rename LZ4 symbols
Linus Torvalds merged LZ4 into Linux 3.11. This causes a conflict whenever CONFIG_LZ4_DECOMPRESS=y or CONFIG_LZ4_COMPRESS=y are set in the kernel's .config. We rename the symbols to avoid the conflict. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1789
Diffstat (limited to 'module/zfs/zio_compress.c')
-rw-r--r--module/zfs/zio_compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zio_compress.c b/module/zfs/zio_compress.c
index 1dc780d4b..5864d5c8a 100644
--- a/module/zfs/zio_compress.c
+++ b/module/zfs/zio_compress.c
@@ -53,7 +53,7 @@ zio_compress_info_t zio_compress_table[ZIO_COMPRESS_FUNCTIONS] = {
{gzip_compress, gzip_decompress, 8, "gzip-8"},
{gzip_compress, gzip_decompress, 9, "gzip-9"},
{zle_compress, zle_decompress, 64, "zle"},
- {lz4_compress, lz4_decompress, 0, "lz4"},
+ {lz4_compress_zfs, lz4_decompress_zfs, 0, "lz4"},
};
enum zio_compress