diff options
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/lz4.c | 4 | ||||
-rw-r--r-- | module/zfs/zio_compress.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/lz4.c b/module/zfs/lz4.c index 8afaad130..ae5d5a23a 100644 --- a/module/zfs/lz4.c +++ b/module/zfs/lz4.c @@ -47,7 +47,7 @@ static kmem_cache_t *lz4_cache; /*ARGSUSED*/ size_t -lz4_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) +lz4_compress_zfs(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) { uint32_t bufsiz; char *dest = d_start; @@ -74,7 +74,7 @@ lz4_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) /*ARGSUSED*/ int -lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) +lz4_decompress_zfs(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) { const char *src = s_start; uint32_t bufsiz = BE_IN32(src); 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 |