squashfs4: use upstream xz compression header format
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 21 Jun 2016 20:05:44 +0000 (22:05 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 22 Jun 2016 17:32:06 +0000 (19:32 +0200)
commitf97ad870e11ebe5f3dcf833dda6c83b9165b37cb
tree435acc51f4bacb3c9f9137d227ea3f4c38d7b827
parentf080cfab72d8801856fa01f0476f1fc9b920a9d9
squashfs4: use upstream xz compression header format

In the upstream kernel and the upstream squashfs4 tools the xz
compression header looks the following:
struct disk_comp_opts {
        __le32 dictionary_size;
        __le32 flags;
};

We added some other members and also moved some existing members. Place
the members which are already in upstream header at the same position
as in that kernel and add our own at the end. The kernel should not
have a problem when there are some additional members and just ignore
them.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/patches-3.18/520-squashfs_update_xz_comp_opts.patch [deleted file]
target/linux/generic/patches-4.1/520-squashfs_update_xz_comp_opts.patch [deleted file]
target/linux/generic/patches-4.4/520-squashfs_update_xz_comp_opts.patch [deleted file]
tools/squashfs4/patches/160-expose_lzma_xz_options.patch