--- zzzz-none-000/linux-4.4.271/fs/squashfs/xz_wrapper.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/fs/squashfs/xz_wrapper.c 2023-04-19 10:22:30.000000000 +0000 @@ -40,8 +40,10 @@ }; struct disk_comp_opts { - __le32 dictionary_size; __le32 flags; + __le16 bit_opts; + __le16 fb; + __le32 dictionary_size; }; struct comp_opts { @@ -68,7 +70,7 @@ goto out; } - opts->dict_size = le32_to_cpu(comp_opts->dictionary_size); + opts->dict_size = squash_le32_to_cpu(comp_opts->dictionary_size); /* the dictionary size should be 2^n or 2^n+2^(n+1) */ n = ffs(opts->dict_size) - 1;