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.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to