aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zio_compress.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/zio_compress.h')
-rw-r--r--include/sys/zio_compress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/zio_compress.h b/include/sys/zio_compress.h
index d41b5dfd4..31602039a 100644
--- a/include/sys/zio_compress.h
+++ b/include/sys/zio_compress.h
@@ -173,9 +173,9 @@ extern int zfs_lz4_decompress(abd_t *src, abd_t *dst, size_t s_len,
/*
* Compress and decompress data if necessary.
*/
-extern size_t zio_compress_data(enum zio_compress c, abd_t *src, void **dst,
+extern size_t zio_compress_data(enum zio_compress c, abd_t *src, abd_t **dst,
size_t s_len, uint8_t level);
-extern int zio_decompress_data(enum zio_compress c, abd_t *src, void *dst,
+extern int zio_decompress_data(enum zio_compress c, abd_t *src, abd_t *abd,
size_t s_len, size_t d_len, uint8_t *level);
extern int zio_compress_to_feature(enum zio_compress comp);