Root/target/linux/generic/patches-3.2/520-squashfs_update_xz_comp_opts.patch

1From f31b7c0efa255dd17a5f584022a319387f09b0d8 Mon Sep 17 00:00:00 2001
2From: Jonas Gorski <jonas.gorski@gmail.com>
3Date: Tue, 12 Apr 2011 19:55:41 +0200
4Subject: [PATCH] squashfs: update xz compressor options struct.
5
6Update the xz compressor options struct to match the squashfs userspace
7one.
8---
9 fs/squashfs/xz_wrapper.c | 4 +++-
10 1 files changed, 3 insertions(+), 1 deletions(-)
11
12--- a/fs/squashfs/xz_wrapper.c
13+++ b/fs/squashfs/xz_wrapper.c
14@@ -39,8 +39,10 @@ struct squashfs_xz {
15 };
16 
17 struct comp_opts {
18- __le32 dictionary_size;
19     __le32 flags;
20+ __le16 bit_opts;
21+ __le16 fb;
22+ __le32 dictionary_size;
23 };
24 
25 static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff,
26

Archive Download this file



interactive