Displaying 1 result from an estimated 1 matches for "35b877e".
Did you mean:
35b137e
2012 Jan 17
0
[PATCH] Btrfs: fix decompressing of snappy-compressed inline extents
...d chunk data,
even when there''s only one chunk, which is the case for inline
extents.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/snappy.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/snappy.c b/fs/btrfs/snappy.c
index d6bd607..35b877e 100644
--- a/fs/btrfs/snappy.c
+++ b/fs/btrfs/snappy.c
@@ -392,12 +392,16 @@ static int btrfs_snappy_decompress(struct list_head *ws, unsigned char *data_in,
struct workspace *workspace = list_entry(ws, struct workspace, list);
size_t in_len;
size_t out_len;
+ size_t tot_len;
int ret = 0;...