520-squashfs_update_xz_comp_opts.patch 697 B

12345678910111213141516171819202122232425
  1. From f31b7c0efa255dd17a5f584022a319387f09b0d8 Mon Sep 17 00:00:00 2001
  2. From: Jonas Gorski <[email protected]>
  3. Date: Tue, 12 Apr 2011 19:55:41 +0200
  4. Subject: [PATCH] squashfs: update xz compressor options struct.
  5. Update the xz compressor options struct to match the squashfs userspace
  6. one.
  7. ---
  8. fs/squashfs/xz_wrapper.c | 4 +++-
  9. 1 files changed, 3 insertions(+), 1 deletions(-)
  10. --- a/fs/squashfs/xz_wrapper.c
  11. +++ b/fs/squashfs/xz_wrapper.c
  12. @@ -39,8 +39,10 @@ struct squashfs_xz {
  13. };
  14. struct comp_opts {
  15. - __le32 dictionary_size;
  16. __le32 flags;
  17. + __le16 bit_opts;
  18. + __le16 fb;
  19. + __le32 dictionary_size;
  20. };
  21. static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff,