diff options
-rw-r--r-- | fs/ubifs/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c index 4c90ee2aef46..11e4132f314a 100644 --- a/fs/ubifs/compress.c +++ b/fs/ubifs/compress.c | |||
@@ -108,7 +108,7 @@ void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, | |||
108 | if (compr->comp_mutex) | 108 | if (compr->comp_mutex) |
109 | mutex_lock(compr->comp_mutex); | 109 | mutex_lock(compr->comp_mutex); |
110 | err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, | 110 | err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, |
111 | out_len); | 111 | (unsigned int *)out_len); |
112 | if (compr->comp_mutex) | 112 | if (compr->comp_mutex) |
113 | mutex_unlock(compr->comp_mutex); | 113 | mutex_unlock(compr->comp_mutex); |
114 | if (unlikely(err)) { | 114 | if (unlikely(err)) { |
@@ -172,7 +172,7 @@ int ubifs_decompress(const void *in_buf, int in_len, void *out_buf, | |||
172 | if (compr->decomp_mutex) | 172 | if (compr->decomp_mutex) |
173 | mutex_lock(compr->decomp_mutex); | 173 | mutex_lock(compr->decomp_mutex); |
174 | err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, | 174 | err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, |
175 | out_len); | 175 | (unsigned int *)out_len); |
176 | if (compr->decomp_mutex) | 176 | if (compr->decomp_mutex) |
177 | mutex_unlock(compr->decomp_mutex); | 177 | mutex_unlock(compr->decomp_mutex); |
178 | if (err) | 178 | if (err) |