search for: snappy_len

Displaying 1 result from an estimated 1 matches for "snappy_len".

Did you mean: snap_len
2012 Jan 17
0
[PATCH] Btrfs: fix decompressing of snappy-compressed inline extents
...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; char *kaddr; unsigned long bytes; BUG_ON(srclen < SNAPPY_LEN); + tot_len = read_compress_length(data_in); + data_in += SNAPPY_LEN; + in_len = read_compress_length(data_in); data_in += SNAPPY_LEN; -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More m...