<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br></div><div>wending my way to ‘xz_wrapper.c’ I find the following structure definition in the OpenWRT ’trunk’ version of kernel sources:</div><div><br></div><div><br></div><div><div style="margin: 0px; font-family: Monaco;">struct comp_opts {</div><div style="margin: 0px; font-family: Monaco;"> __le32 flags;</div><div style="margin: 0px; font-family: Monaco;"> __le16 bit_opts;</div><div style="margin: 0px; font-family: Monaco;"> __le16 fb;</div><div style="margin: 0px; font-family: Monaco;"> __le32 dictionary_size;</div><div style="margin: 0px; font-family: Monaco;">};</div></div><div><br></div><div><br></div><div>However, for the standard Linux kernel 4.5.2 the same named file has the following structure definitions:</div><div><br></div><div><div style="margin: 0px; font-family: Monaco;">struct disk_comp_opts {</div><div style="margin: 0px; font-family: Monaco;"> __le32 dictionary_size;</div><div style="margin: 0px; font-family: Monaco;"> __le32 flags;</div><div style="margin: 0px; font-family: Monaco;">};</div><div style="margin: 0px; font-family: Monaco; min-height: 16px;"><br></div><div style="margin: 0px; font-family: Monaco;">struct comp_opts {</div><div style="margin: 0px; font-family: Monaco;"> int dict_size;</div><div style="margin: 0px; font-family: Monaco;">};</div></div><div><br></div><div><br></div><div>The question is, how is it that there is this significant difference?</div><div><br></div><div>It seems that the structure should have been</div><div><br></div><div><div style="margin: 0px; font-family: Monaco;">struct disk_comp_opts {</div><div style="margin: 0px; font-family: Monaco;"> __le32 dictionary_size;</div><div style="margin: 0px; font-family: Monaco;"> __le32 flags;</div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">/* Plus additional OpenWRT elements. */</div><div style="margin: 0px; font-family: Monaco;">};</div></div><div><br></div><div>John Clark.</div><div><br></div></body></html>