diff options
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r-- | fs/btrfs/compression.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index d5381f39a9e8..548057630b69 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c | |||
@@ -1203,7 +1203,7 @@ int btrfs_decompress_buf2page(const char *buf, unsigned long buf_start, | |||
1203 | /* | 1203 | /* |
1204 | * Shannon Entropy calculation | 1204 | * Shannon Entropy calculation |
1205 | * | 1205 | * |
1206 | * Pure byte distribution analysis fails to determine compressiability of data. | 1206 | * Pure byte distribution analysis fails to determine compressibility of data. |
1207 | * Try calculating entropy to estimate the average minimum number of bits | 1207 | * Try calculating entropy to estimate the average minimum number of bits |
1208 | * needed to encode the sampled data. | 1208 | * needed to encode the sampled data. |
1209 | * | 1209 | * |
@@ -1267,7 +1267,7 @@ static u8 get4bits(u64 num, int shift) { | |||
1267 | 1267 | ||
1268 | /* | 1268 | /* |
1269 | * Use 4 bits as radix base | 1269 | * Use 4 bits as radix base |
1270 | * Use 16 u32 counters for calculating new possition in buf array | 1270 | * Use 16 u32 counters for calculating new position in buf array |
1271 | * | 1271 | * |
1272 | * @array - array that will be sorted | 1272 | * @array - array that will be sorted |
1273 | * @array_buf - buffer array to store sorting results | 1273 | * @array_buf - buffer array to store sorting results |