cns3xxx: sync kernel config
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.39 / 520-squashfs_update_xz_comp_opts.patch
1 From f31b7c0efa255dd17a5f584022a319387f09b0d8 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Tue, 12 Apr 2011 19:55:41 +0200
4 Subject: [PATCH] squashfs: update xz compressor options struct.
5
6 Update the xz compressor options struct to match the squashfs userspace
7 one.
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,