[PATCH 1/3] Reiser4: fix typo in lzo1_overrun calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Edward Shishkin <edward.shishkin@xxxxxxxxx>

Fix typo found by BratSinot.

Signed-off-by: Edward Shishkin <edward.shishkin@xxxxxxxxx>
---
 plugin/compress/compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/compress/compress.c b/plugin/compress/compress.c
index 5c3df83..a574933 100644
--- a/plugin/compress/compress.c
+++ b/plugin/compress/compress.c
@@ -214,7 +214,7 @@ static int lzo1_init(void)
 
 static int lzo1_overrun(unsigned in_len)
 {
-	return in_len / 64 + 16 + 3;
+	return in_len / 16 + 64 + 3;
 }
 
 static coa_t lzo1_alloc(tfm_action act)
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux