[OpenWrt-Devel] Incompatible xz_wrapper structures between OpenWRT versions of the Linux Kernel and kernel.org Linux kernel 4.5.2.

John Clark jeclark2006 at aim.com
Wed Sep 7 15:27:49 EDT 2016


In using the 4.5.2 Linux kernel to debug some ‘other problem’ I was unable to use my squashfs file system with the kernel.

wending my way to ‘xz_wrapper.c’ I find the following structure definition in the OpenWRT ’trunk’ version of kernel sources:


struct comp_opts {
        __le32 flags;
        __le16 bit_opts;
        __le16 fb;
        __le32 dictionary_size;
};


However, for the standard Linux kernel 4.5.2 the same named file has the following structure definitions:

struct disk_comp_opts {
        __le32 dictionary_size;
        __le32 flags;
};

struct comp_opts {
        int dict_size;
};


The question is, how is it that there is this significant difference?

It seems that the structure should have been

struct disk_comp_opts {
        __le32 dictionary_size;
        __le32 flags;

/* Plus additional OpenWRT elements. */
};

John Clark.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160907/02f74d56/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list