summaryrefslogtreecommitdiffstats
path: root/module/zfs/lzjb.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/lzjb.c')
-rw-r--r--module/zfs/lzjb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/lzjb.c b/module/zfs/lzjb.c
index 7bad4f664..83ff409ce 100644
--- a/module/zfs/lzjb.c
+++ b/module/zfs/lzjb.c
@@ -61,7 +61,8 @@ lzjb_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
while (src < (uchar_t *)s_start + s_len) {
if ((copymask <<= 1) == (1 << NBBY)) {
if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) {
- kmem_free(lempel, LEMPEL_SIZE*sizeof(uint16_t));
+ kmem_free(lempel,
+ LEMPEL_SIZE*sizeof (uint16_t));
return (s_len);
}
copymask = 1;