diff options
author | Richard Yao <[email protected]> | 2013-10-05 17:55:24 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-10-22 10:12:39 -0700 |
commit | b3c49d3df82466646bde9beebce7bbf0b3c41853 (patch) | |
tree | 37c94c3b7468fd42d34f8a02474c1894d24a659f /include/sys | |
parent | 2e2ddc30b47c174d95c2eb491452a7587e3e129f (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 'include/sys')
-rw-r--r-- | include/sys/zio_compress.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/zio_compress.h b/include/sys/zio_compress.h index bd051f185..e4b565d5e 100644 --- a/include/sys/zio_compress.h +++ b/include/sys/zio_compress.h @@ -74,9 +74,9 @@ extern size_t zle_compress(void *src, void *dst, size_t s_len, size_t d_len, int level); extern int zle_decompress(void *src, void *dst, size_t s_len, size_t d_len, int level); -extern size_t lz4_compress(void *src, void *dst, size_t s_len, size_t d_len, +extern size_t lz4_compress_zfs(void *src, void *dst, size_t s_len, size_t d_len, int level); -extern int lz4_decompress(void *src, void *dst, size_t s_len, size_t d_len, +extern int lz4_decompress_zfs(void *src, void *dst, size_t s_len, size_t d_len, int level); /* |